Skip to main content

dir_size_bytes

Function dir_size_bytes 

Source
pub fn dir_size_bytes(path: &Path) -> Result<u64>
Expand description

Walk path recursively, summing file sizes. Does not follow symlinks. Returns 0 if the path does not exist.