Optional
lengthStop reading the file after this many bytes
Optional
offlineIf true, do not perform any network operations and throw if blocks are missing from the local store. (default: false)
Optional
offsetStart reading the file at this offset
Optional
onOptional
pathAn optional path to allow reading files inside directories
Optional
providersAn optional list of peers known to host at least the root block of the DAG that will be fetched.
If this list is omitted, or if the peers cannot supply the root or any
child blocks, a findProviders
routing query will be run to find peers
that can supply the blocks.
Optional
signal
Options to pass to the cat command