[GH-ISSUE #120] Why won't it read folder sizes? #57

Closed
opened 2026-04-08 16:50:06 +03:00 by zhus · 1 comment
Owner

Originally created by @ItsNoted on GitHub (Aug 2, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/120

I'd like a quick way to see folder sizes, Can this read folder sizes or only file sizes? And if not, why not?

Thanks!

Originally created by @ItsNoted on GitHub (Aug 2, 2022). Original GitHub issue: https://github.com/sigoden/dufs/issues/120 I'd like a quick way to see folder sizes, Can this read folder sizes or only file sizes? And if not, why not? Thanks!
zhus closed this issue 2026-04-08 16:50:06 +03:00
Author
Owner

@sigoden commented on GitHub (Aug 2, 2022):

The folder size can only be calculated by adding the size of each file in the folder.

This computation is indeterminate, it may take a few milliseconds, it may take a few minutes, so it is not possible to provide folder size.

<!-- gh-comment-id:1202694086 --> @sigoden commented on GitHub (Aug 2, 2022): The folder size can only be calculated by adding the size of each file in the folder. This computation is indeterminate, it may take a few milliseconds, it may take a few minutes, so it is not possible to provide folder size.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#57