[−][src]Crate filesize
Get the real on-disk size of a file, taking into account compression and sparse allocation.
On Unix this uses std::fs::symlink_metadata()
and std::os::unix::fs::MetadataExt
.
On Windows it uses GetCompressedFileSizeW()
.
Returns the logical size on platforms other than Unix and Windows.
Functions
file_real_size | Get the on-disk size of the file at the given |
file_real_size_fast | Get the on-disk size of the file at the given |