-
-
Notifications
You must be signed in to change notification settings - Fork 262
[Feature request] Make results of initial scan available #478
Copy link
Copy link
Closed
Labels
A-enhancementZ-needs implementationNeeds an implementation, will accept PRsNeeds an implementation, will accept PRs
Description
This is usecase for #339
Scenario:
- Platform with slow file-system access and a lot of files
- Need initial list of files as well as events on changes
Now I cannot obtain initial list of files from the API. I have to call separately walkdir which imply some drawbacks:
- I need to rescan the whole file-system again
- If one file is changed during rescanning, it changes can be lost (initial scan output will be provided later then changed event)
- It imply memory cost for rescanning large file-system again
- There may be some platform-specific inconsistencies in case symlink/hardlink. Initial set of files from notify may differ from
walkdiroutput (unless notify is usingwalkdirinternally, I haven't check up that)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-enhancementZ-needs implementationNeeds an implementation, will accept PRsNeeds an implementation, will accept PRs