RangerMauve / hypercore-fetch

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

List Directory With Extra info like Etag #73

Open RangerMauve opened 1 year ago

RangerMauve commented 1 year ago
alphapapa commented 1 year ago

Perhaps the closest example is found in WebDAV, 9.1.5. Example - Using So-called 'allprop' (properties available for file entries), which shows a list of properties that can be retrieved for a directory and/or file listing. I'm not sure how instructive it is for us, other than giving us general ideas like: size, creation date, modified date, writable, filetype, etc.

For our purposes, we probably need just a minimum of: name, size, modified time, and created-at-version.

josephmturner commented 1 year ago

We decided that this is not worth the added complexity.

RangerMauve commented 1 year ago

We still want this for cases where doing parallel requests is slow.

I would be happy with something like this:

josephmturner commented 4 months ago

Added in https://git.sr.ht/~ushin/hypercore-fetch-ushin/commit/1e22c1b. Thanks!