internal/directory/directory_unix.go
Function calcSize
has 8 return statements (exceeds 4 allowed). Open
Open
func calcSize(ctx context.Context, dir string) (int64, error) {
var size int64
data := make(map[uint64]struct{})
err := filepath.Walk(dir, func(d string, fileInfo os.FileInfo, err error) error {
if err != nil {