Chunking algorithm used to build ipfs DAGs. (defaults to 'size-262144')
The CID version to use when storing the data
Multihash hashing algorithm to use. (Defaults to 'sha2-256')
If true, will not add blocks to the blockstore. (Defaults to false
)
Pin this object when adding. (Defaults to true
)
Whether to preload all blocks created during this operation
A function that will be called with the number of bytes added as a file is added to ipfs and the path of the file being added.
Note It will not be called for directory entries.
If true, DAG leaves will contain raw file data and not be wrapped in a
protobuf. (Defaults to false
)
Can be provided to a function that starts a long running task, which will be aborted when signal is triggered.
Can be provided to a function that starts a long running task, which will be aborted after provided timeout (in ms).
If true will use the
trickle DAG
format for DAG generation. (Defaults to false
).
Adds a wrapping node around the content. (Defaults to false
)
Generated using TypeDoc
How many blocks from a file to write concurrently