Open jbenet opened 8 years ago
This ties in nicely to the pinning modifications that i'm planning. I want to have ipfs add
make an entry somewhere in mfs in order to keep a name associated with the thing you added.
@whyrusleeping sgtm. how about some of these:
$repo/all/adds
- all added roots, inc add time, unix user if exists (or http client ip for api!). i think you suggest adding this data to the root object of the add, and i really like the idea. we could call these objects add roots
.$repo/index/by-add-time
- an index of all objects by add time$repo/index/by-filename
- an index of all objects by filename$repo/index/by-size
- an index of all objects by sizesnotes:
$root/files
so the above would be separate from the normal mfs root. we could make all of the above rooted at $repo/files
though if we want that.ipfs repo index build
command)
We've discussed making mfs/files api mountable. we should scope out that interface.
I could see something like this: