taco-db  0.1.0
Namespaces | Functions
fsutils.cpp File Reference
#include "utils/fsutils.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <fcntl.h>
#include <absl/strings/str_cat.h>

Namespaces

 taco
 

Functions

bool taco::file_exists (const char *path)
 
bool taco::regular_file_exists (const char *path)
 
bool taco::dir_exists (const char *path)
 
bool taco::dir_empty (const char *path)
 
void taco::remove_dir (const char *path)
 
void taco::copy_dir (const char *srcpath, const char *dstpath)
 
std::string taco::mktempfile (std::string prefix)
 
std::string taco::mktempdir (std::string prefix)