Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit f75c682

Browse files
authored
docs: remove format option from mfs commands (#575)
UnixFS uses `dag-pb` so don't offer the user the option of using other formats.
1 parent e51d27c commit f75c682

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

SPEC/FILES.md

-3
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@ Where:
774774
- `to` is the path of the destination to copy to
775775
- `options` is an optional Object that might contain the following keys:
776776
- `parents` is a Boolean value to decide whether or not to make the parent directories if they don't exist (default: false)
777-
- `format` is what type of nodes to write any newly created directories as (default: `dag-pb`)
778777
- `hashAlg` is which algorithm to use when creating CIDs for newly created directories. (default: `sha2-256`) [The list of all possible values]( https://github.com/multiformats/js-multihash/blob/master/src/constants.js#L5-L343)
779778
- `flush` is a Boolean value to decide whether or not to immediately flush MFS changes to disk (default: true)
780779

@@ -818,7 +817,6 @@ Where:
818817
- `path` is the path to the directory to make
819818
- `options` is an optional Object that might contain the following keys:
820819
- `parents` is a Boolean value to decide whether or not to make the parent directories if they don't exist (default: false)
821-
- `format` is what type of nodes to write any newly created directories as (default: `dag-pb`)
822820
- `hashAlg` is which algorithm to use when creating CIDs for newly created directories (default: `sha2-256`) [The list of all possible values]( https://github.com/multiformats/js-multihash/blob/master/src/constants.js#L5-L343)
823821
- `flush` is a Boolean value to decide whether or not to immediately flush MFS changes to disk (default: true)
824822

@@ -1061,7 +1059,6 @@ Where:
10611059
- `to` is the path of the destination to move to
10621060
- `options` is an optional Object that might contain the following keys:
10631061
- `parents` is a Boolean value to decide whether or not to make the parent directories if they don't exist (default: false)
1064-
- `format` is what type of nodes to write any newly created directories as (default: `dag-pb`)
10651062
- `hashAlg` is which algorithm to use when creating CIDs for newly created directories (default: `sha2-256`) [The list of all possible values]( https://github.com/multiformats/js-multihash/blob/master/src/constants.js#L5-L343)
10661063
- `flush` is a Boolean value to decide whether or not to immediately flush MFS changes to disk (default: true)
10671064

0 commit comments

Comments
 (0)