getAvailableSpace overloads
Declared in <bdls_filesystemutil.h>
Return the number of bytes available on the file system of descriptor.
static
Offset
getAvailableSpace(FileDescriptor descriptor);
» more...
Return the number of bytes available on the file system of path.
static
Offset
getAvailableSpace(char const* path);
» more...
Return the number of bytes available on the file system of path.
template<class STRING_TYPE>
static
FilesystemUtil::Offset
getAvailableSpace(STRING_TYPE const& path);
» more...
the number of available bytes, or a negative value on error
| Name | Description |
|---|---|
| descriptor | file descriptor whose volume's free space is returned |
| path | filesystem path whose volume's free space is returned |