提交 c47e12eb 作者: Jeromy

clear up comment about flush=false

License: MIT
Signed-off-by: 's avatarJeromy <jeromyj@gmail.com>
上级 4b7e3282
......@@ -29,12 +29,12 @@ var FilesCmd = &cmds.Command{
Files is an API for manipulating ipfs objects as if they were a unix filesystem.
Note:
Most of the subcommands of 'ipfs files' accept the '--flush' flag. Use caution
when using this flag, It will improve performance for large numbers of file
operations, but it does so at the cost of consistency guarantees. If the daemon
is unexpectedly killed before running 'ipfs files flush' on the files in question,
then data may be lost. This also applies to running 'ipfs repo gc' concurrently
with '--flush=false' operations.
Most of the subcommands of 'ipfs files' accept the '--flush' flag. It defaults to
true. Use caution when setting this flag to false, It will improve performance
for large numbers of file operations, but it does so at the cost of consistency
guarantees. If the daemon is unexpectedly killed before running 'ipfs files flush'
on the files in question, then data may be lost. This also applies to running
'ipfs repo gc' concurrently with '--flush=false' operations.
`,
},
Options: []cmds.Option{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论