1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

clear up comment about flush=false

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy
2016-02-04 15:33:17 -08:00
parent 4b7e3282f1
commit c47e12ebb1

View File

@ -29,12 +29,12 @@ var FilesCmd = &cmds.Command{
Files is an API for manipulating ipfs objects as if they were a unix filesystem. Files is an API for manipulating ipfs objects as if they were a unix filesystem.
Note: Note:
Most of the subcommands of 'ipfs files' accept the '--flush' flag. Use caution Most of the subcommands of 'ipfs files' accept the '--flush' flag. It defaults to
when using this flag, It will improve performance for large numbers of file true. Use caution when setting this flag to false, It will improve performance
operations, but it does so at the cost of consistency guarantees. If the daemon for large numbers of file operations, but it does so at the cost of consistency
is unexpectedly killed before running 'ipfs files flush' on the files in question, guarantees. If the daemon is unexpectedly killed before running 'ipfs files flush'
then data may be lost. This also applies to running 'ipfs repo gc' concurrently on the files in question, then data may be lost. This also applies to running
with '--flush=false' operations. 'ipfs repo gc' concurrently with '--flush=false' operations.
`, `,
}, },
Options: []cmds.Option{ Options: []cmds.Option{