1 #ifndef STORAGE_FACTORY_LOCAL_FILE_SYSTEM_H 2 # define STORAGE_FACTORY_LOCAL_FILE_SYSTEM_H 19 std::pair<std::string, std::string>
findCachePath(
const std::vector<std::string> &paths,
double minFreeSpace)
const;
26 FSInfo *
findMount(
const char *path,
struct statfs *sfs,
struct stat *
s, std::vector<std::string> &)
const;
28 std::vector<FSInfo *>
fs_;
36 #endif // STORAGE_FACTORY_LOCAL_FILE_SYSTEM_H int statFSInfo(FSInfo *i) const
Information about file systems on this node.
std::vector< std::string > fstypes_
FSInfo * initFSInfo(void *p)
bool isLocalPath(const std::string &path) const
std::pair< std::string, std::string > findCachePath(const std::vector< std::string > &paths, double minFreeSpace) const
std::vector< FSInfo * > fs_
void operator=(LocalFileSystem &)
FSInfo * findMount(const char *path, struct statfs *sfs, struct stat *s, std::vector< std::string > &) const