From 842e2e207d0a516c095b697ce004752137086d7e Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 2 Jan 2020 07:32:14 +0100 Subject: [PATCH] docs: remove format option from mfs commands UnixFS uses `dag-pb` so don't offer the user the option of using other formats. --- SPEC/FILES.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/SPEC/FILES.md b/SPEC/FILES.md index b9b6aaf1..ba412edc 100644 --- a/SPEC/FILES.md +++ b/SPEC/FILES.md @@ -774,7 +774,6 @@ Where: - `to` is the path of the destination to copy to - `options` is an optional Object that might contain the following keys: - `parents` is a Boolean value to decide whether or not to make the parent directories if they don't exist (default: false) - - `format` is what type of nodes to write any newly created directories as (default: `dag-pb`) - `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) - `flush` is a Boolean value to decide whether or not to immediately flush MFS changes to disk (default: true) @@ -818,7 +817,6 @@ Where: - `path` is the path to the directory to make - `options` is an optional Object that might contain the following keys: - `parents` is a Boolean value to decide whether or not to make the parent directories if they don't exist (default: false) - - `format` is what type of nodes to write any newly created directories as (default: `dag-pb`) - `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) - `flush` is a Boolean value to decide whether or not to immediately flush MFS changes to disk (default: true) @@ -1061,7 +1059,6 @@ Where: - `to` is the path of the destination to move to - `options` is an optional Object that might contain the following keys: - `parents` is a Boolean value to decide whether or not to make the parent directories if they don't exist (default: false) - - `format` is what type of nodes to write any newly created directories as (default: `dag-pb`) - `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) - `flush` is a Boolean value to decide whether or not to immediately flush MFS changes to disk (default: true)