Skip to content
This repository has been archived by the owner. It is now read-only.

If I'm operating a node, can I browse the files that my node is hosting? #10

Closed
whyrusleeping opened this issue Apr 7, 2015 · 3 comments
Labels

Comments

@whyrusleeping
Copy link

whyrusleeping commented Apr 7, 2015

Yes, you can browse the blocks that your node is hosting. Files are an abstraction built on top of the merkledag. All data in ipfs is stored as content addressed blocks (so there are no filenames unless you have the directory block containing said file).

@jbenet
Copy link
Contributor

jbenet commented Apr 7, 2015

  • You can look at all the local refs with ipfs refs local
  • The webui uses this to list files.
  • (planned) we will have listings of the roots to make the content more navigable.
  • (planned) we will have something like ipfs files find equivalent to unix find.

@whyrusleeping
Copy link
Author

whyrusleeping commented Apr 7, 2015

Some code that I have for viewing the roots (roots of merkledags, normally files or directories)

https://gist.github.com/whyrusleeping/9f2c83f3feed340e21ac

@madavieb
Copy link

madavieb commented May 23, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants