Return the size, in bytes, of the file or directory at path.
Declared in <bdls_filesystemutil.h>
template<class STRING_TYPE>
static
FilesystemUtil::Offset
getFileSize(STRING_TYPE const& path);
Same as the overload taking const char *.
the size in bytes, or a negative value if an error occurs
| Name | Description |
|---|---|
| path | filesystem path of the file or directory |