RangerMauve / hypercore-fetch

Implementation of Fetch that uses the Hyper SDK for loading p2p content
MIT License
37 stars 13 forks source link

Expose hyperdrive `drive.diff()` API #90

Open josephmturner opened 1 year ago

josephmturner commented 1 year ago

~The code is not quite working yet. I suspect I'm not returning the stream in the response body correctly.~

EDIT: Figured it out!

josephmturner commented 1 year ago

Resolves #51

RangerMauve commented 1 year ago

feel free to use 2 dots

josephmturner commented 1 year ago

Also, what do you think of having the ability to omit the ... and just have one version number. This would be similar to the githib syntax where you compare to the main branch. In our case it would compare against the latest version of the drive.

Good idea! I just force-pushed this change.