提交 92f96ee6 作者: Enrique Erne

adds more info about chunker option

see https://github.com/ipfs/go-ipfs/issues/4276

License: MIT
Signed-off-by: 's avatarEnrique Erne <enrique.erne@gmail.com>
上级 e7acb96c
......@@ -87,7 +87,7 @@ You can now refer to the added file in a gateway, like so:
cmds.BoolOption(onlyHashOptionName, "n", "Only chunk and hash - do not write to disk."),
cmds.BoolOption(wrapOptionName, "w", "Wrap files with a directory object."),
cmds.BoolOption(hiddenOptionName, "H", "Include files that are hidden. Only takes effect on recursive add."),
cmds.StringOption(chunkerOptionName, "s", "Chunking algorithm to use."),
cmds.StringOption(chunkerOptionName, "s", "Chunking algorithm to use. Another block size can be specified using size-[bytes]. There's also the rabin- chunker which uses rabin-[min]-[avg]-[max]").Default("size-262144"),
cmds.BoolOption(pinOptionName, "Pin this object when adding.").Default(true),
cmds.BoolOption(rawLeavesOptionName, "Use raw blocks for leaf nodes. (experimental)"),
cmds.BoolOption(noCopyOptionName, "Add the file using filestore. (experimental)"),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论