Chunking algorithm used to build ipfs DAGs. (defaults to 'size-262144')
The CID version to use when storing the data
Allows to create directories with an unlimited number of entries currently
size of unixfs directories is limited by the maximum block size.
** Note ** that this is an experimental feature. (Defaults to false
)
How many files to write concurrently
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
)
Directories with more than this number of files will be created as HAMT - sharded directories. (Defaults to 1000)
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