getAvailableSpace overloads
Declared in <bdls_filesystemutil.h>
Return the number of bytes available for allocation in the file system where the file with the specified descriptor resides, or a negative value if an error occurs.
static
Offset
getAvailableSpace(FileDescriptor descriptor);
» more...
Return the number of bytes available for allocation in the file system where the file or directory with the specified path resides, or a negative value if an error occurs. The parameterized STRING_TYPE must be one of bsl::string, std::string, std::pmr::string (if supported), bsl::string_view, or bslstl::StringRef.
static
Offset
getAvailableSpace(char const* path);
» more...
Same as the overload taking const char *.
template<class STRING_TYPE>
static
FilesystemUtil::Offset
getAvailableSpace(STRING_TYPE const& path);
» more...