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