okdistribute / hyperdrive-ui

Render a hyperdrive in the browser.
http://karissa.github.io/hyperdrive-ui/
40 stars 4 forks source link

overwritten files are displayed as duplicated files #32

Open clkao opened 8 years ago

clkao commented 8 years ago

if you drag readme.md into hyperdrive, and then drag a different version of readme.md over again, you will see two readme.md, in both the owner's hyperdrive and replicated drive.

We should construct the correct filesystem taking overwrites into account.

clkao commented 8 years ago

depends on https://github.com/mafintosh/hyperdrive/issues/63

okdistribute commented 8 years ago

ahh okay. so we'd do this by saying any file with the same name will override the older file

juliangruber commented 8 years ago

ahh okay. so we'd do this by saying any file with the same name will override the older file

if we didn't store files raw on disk but say in a content addressable storage, it would be possible two have two files with the same path, but yeah with fs as a backend same path should overwrite.