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