TheDiscordian / ipfs-sync

A simple daemon which will watch files on your filesystem, mirror them to MFS, automatically update related pins, and update related IPNS keys.
BSD 3-Clause "New" or "Revised" License
95 stars 14 forks source link

Re-enable files/write #48

Open TheDiscordian opened 3 years ago

TheDiscordian commented 3 years ago

Currently we do ipfs add then ipfs cp. Let's switch this to two options, either bulk ipfs add (#31) or ipfs files write. Not entirely sure which will be more performant.

This feature was removed in 086b613c7569ce042b00dbfaf2faf7a620bf8f53

However with https://github.com/ipfs/go-ipfs/issues/7916 being fixed, now it should be usable again (fingers crossed).

TheDiscordian commented 3 years ago

This issue can be closed after files/write is implemented, the switch can come in after #31 is complete (which isn't on the v1.0.0 milestone rn).

TheDiscordian commented 3 years ago

Actually not sure how important this is, so going to move it to the back-burner.

TheDiscordian commented 3 years ago

Instead of a switch, bulk add on init using #31, then add subsequent files / update using files/write.