dat-ecosystem-archive / DEPs

Dat Enhancement Proposals. Contains all specs for the Dat protocol, including drafts. [ DEPRECATED - see https://github.com/hypercore-protocol/hypercore-proposals for similar functionality. More info on active projects and modules at https://dat-ecosystem.org/ ]
https://dat-ecosystem.github.io/DEPs
167 stars 17 forks source link

Proposal: Scan directory before pull #65

Open DanielMowitz opened 4 years ago

DanielMowitz commented 4 years ago

As far as I understand it, when a user pulls a dat, if some of the files exist already, they are simply overwritten. It should be possible to hash the data in the directory and compare it to the dat before pulling to avoid duplicate downloads.