scclib
Stable Cloud Computing C++ Library
Classes | Enumerations | Functions

Common file system utilities. More...

#include <string>
#include <map>
#include <functional>
#include <ostream>
#include <system_error>
Include dependency graph for fs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  scc::util::FileStat
 File status structure. More...
 
class  scc::util::Filesystem
 Common file system utilities. More...
 

Enumerations

enum class  scc::util::FileType {
  unknown = 0 , reg = 1 , dir = 2 , link = 4 ,
  sock = 8 , block = 16 , chr = 32 , fifo = 64
}
 File type. More...
 

Functions

bool scc::util::default_scan_filter (const std::string &, FileType)
 Default scan filter. More...
 
void scc::util::PrintTo (const FileStat &, std::ostream *)
 Googletest printer.
 
void scc::util::PrintTo (const FileType &, std::ostream *)
 Googletest printer.
 
std::ostream & operator<< (std::ostream &, scc::util::FileStat)
 
std::ostream & operator<< (std::ostream &, scc::util::FileType)
 

Detailed Description

Common file system utilities.

Definition in file fs.h.