Overrides implicit default and fetches all data linked from the last element in the path.
0
means just the root node
1
means the logical node (e.g. all the bytes, all the keys in a map, etc.)
all
means recursively fetch everything
- This is “application layer linking” as opposed to following all IPLD codec links available.
- For example, if the last element of the path was a malformed UnixFS file where there were more bytes inside a range then described in a
Filesize
range not every block would have to be returned.
- This is not generally a big deal for us since for UnixFS links are at the codec layer anyway and there are no guarantees around malformed data. This is just calling it out explicitly (and seeing if there’s disagreement)