25 #ifndef __XRD_CL_FILE_SYSTEM_UTILS_HH__
26 #define __XRD_CL_FILE_SYSTEM_UTILS_HH__
56 SpaceInfo( uint64_t total, uint64_t free, uint64_t used,
57 uint64_t largestChunk );
82 std::unique_ptr<SpaceInfoImpl>
pImpl;
90 const std::string &path );
94 #endif // __XRD_CL_FILE_SYSTEM_UTILS HH__
static XRootDStatus GetSpaceInfo(SpaceInfo *&result, FileSystem *fs, const std::string &path)
Recursively get space information for given path.
uint64_t GetUsed() const
Amount of used space in MB.
Container for space information.
Definition: XrdClFileSystemUtils.hh:53
uint64_t GetTotal() const
Amount of total space in MB.
Definition: XrdClFileSystemUtils.hh:42
std::unique_ptr< SpaceInfoImpl > pImpl
Definition: XrdClFileSystemUtils.hh:82
SpaceInfo(uint64_t total, uint64_t free, uint64_t used, uint64_t largestChunk)
Request status.
Definition: XrdClXRootDResponses.hh:218
uint64_t GetFree() const
Amount of free space in MB.
uint64_t GetLargestFreeChunk() const
Largest single chunk of free space.
Send file/filesystem queries to an XRootD cluster.
Definition: XrdClFileSystem.hh:202