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

From @whyrusleeping on Tue Apr 07 2015 16:27:01 GMT+0000 (UTC)

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).

Copied from original issue: https://github.com/ipfs/faq/issues/10

From @jbenet on Tue Apr 07 2015 16:37:56 GMT+0000 (UTC)

- 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.

From @whyrusleeping on Tue Apr 07 2015 16:47:12 GMT+0000 (UTC)

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