mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #445] Search with prebuild database #243
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 @freedit-dev on GitHub (Aug 31, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/445
Specific Demand
When working with millions of files, the search function does not work. Just like the difference of
findandlocatein Linux,findis a recursive search, andlocateis a search based on the database. If dufs is used in a large file system, it is recommended to uselocateto search.Implement Suggestion
I found https://github.com/ngirard/lolcate-rs is very useful. And I did some try and it works well.
@sigoden commented on GitHub (Aug 31, 2024):
we will not support this feature.
dufs must remain stateless and not rely on third-party tools; this breaks it.