RangerMauve / hypercore-fetch

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

Return list of versions with mtimes at `hyper://PUBLIC-KEY/$/version/` #81

Closed josephmturner closed 1 year ago

josephmturner commented 1 year ago

What do you think about special-casing hyper://PUBLIC-KEY/$/version/? First, we should find a standard for sending directory information via JSON first.

RangerMauve commented 1 year ago

I don't think an API for this exists in the mean hyperdrive code base. what's more, modification times only apply to files and it's very tricky to figure out which file changed without a bunch of extra logic. if you want to perform deaths you should do it at the application level instead of the protocol handlers

josephmturner commented 1 year ago

Sounds good!