Skip to content
Snippets Groups Projects
csandbox.cc 435 B
Newer Older
  • Learn to ignore specific revisions
  • Daniel Lyubomirov's avatar
    Daniel Lyubomirov committed
    #include "vereign/crypto/rand.hh"
    #include <vereign/bytes/view.hh>
    #include <vereign/bytes/buffer.hh>
    #include <vereign/bytes/view_dump.hh>
    #include <vereign/fs/path.hh>
    #include <vereign/fs/util.hh>
    #include <iostream>
    
    Daniel Lyubomirov's avatar
    Daniel Lyubomirov committed
    
    auto main(int argc, char** argv) -> int {
    
      argc = 0;
      argv = nullptr;
    
    Daniel Lyubomirov's avatar
    Daniel Lyubomirov committed
      auto path = vereign::fs::TempFilePath(vereign::fs::path::Join("tmp", "foo"), "test_db_");
    
      std::cout << path << std::endl;
    
      return 0;