Skip to main content

file_size

Function file_size 

Source
pub fn file_size(path: &Path) -> u64
Expand description

Get the size of a file in bytes.

Returns 0 if the file doesn’t exist.