example: turn directory into UnixFS DAG #663
Labels
dif/easy
Someone with a little familiarity can pick up
effort/hours
Estimated to take one or several hours
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
P2
Medium: Good to have, but can wait until someone steps up
Problem
We have many unixfs implementations, and it is extremely confusing for new developers to understand what they should use and why. (cc @2color)
Proposed improvement
The ./exmaples should have an example of
ipfs add + ipfs dag export
equivalent for reading a file or a directory from local filesystem, and turning it into a CAR with UnixFS DAG that was properly chunked / HAMT-sharded.The example should be a CLI tool that accepts same flags as
ipfs add
, demonstrating how to adjust chunker, hash function, or decide if mode/mtime should be preserved.The text was updated successfully, but these errors were encountered: