mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #553] Limit sub directory item counting #326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ragazenta on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/553
Specific Demand
#457 Introduce sub directory item counting.
I have million of files inside some directories, I've experienced slow performance. So I think it's better to add configurable limit.
Implement Suggestion
Let's say I can set
countLimit= 100, instead of counting until 1 million, simply break the loop and displayBut this will affect the sorting though.