-
Notifications
You must be signed in to change notification settings - Fork 14
Check for existing files #55
Copy link
Copy link
Open
Labels
needs investigationDiagnose what's causing the behaviour describedDiagnose what's causing the behaviour describedperformanceStrictly performance relatedStrictly performance relatedpossible duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Metadata
Metadata
Assignees
Labels
needs investigationDiagnose what's causing the behaviour describedDiagnose what's causing the behaviour describedperformanceStrictly performance relatedStrictly performance relatedpossible duplicateThis issue or pull request already existsThis issue or pull request already exists
I'm playing with this on our big software mirror... running the sync daemon and adding a test file to trigger ipfs-sync I get pages and pages of...
It seems like checking for the existence of a file in MFS would be better than letting the additional fail? (maybe also comparing the size of the file in MFS and the file on disk)
Ideally it would check the CID of the file on disk vs the CID of the file in MFS, but that might not work out well :-)