1
0

Subtract a size of directory's inode itself.

This commit is contained in:
Alexander Andreev 2023-03-11 23:45:19 +04:00
parent d3abf5514d
commit c9aa7e3715
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -43,5 +43,5 @@ func DirectorySize(path string) (dirSz int64, err error) {
return 0, err
}
return dirSz, nil
return dirSz - 4096, nil
}