pub fn dir_size(path: &Path) -> u64Expand description
Total bytes under path, without following symlinks.
A symlinked directory counts as the link itself, not its contents: mutable worktrees are real directories, and following an accidental link into a clone of the repository would count the same bytes twice.