@cryptotaxi247 / kubo / commits / ae5bd6f64

files.go: fix typos / wording

@RubenKelevra committed Apr 1, 2020 at 23:13 UTC ae5bd6f6496fde6d0c3a5a6d3f7b113e16447cb0
1 file changed +9 -9
core/commands/files.go
+9 -9
@@ -36,11 +36,11 @@ var FilesCmd = &cmds.Command{
36 Helptext: cmds.HelpText{
37 Tagline: "Interact with unixfs files.",
38 ShortDescription: `
39 -Files is an API for manipulating IPFS objects as if they were a unix
39 +Files is an API for manipulating IPFS objects as if they were a Unix
40 filesystem.
41
42 The files facility interacts with MFS (Mutable File System). MFS acts as a
43 -single, dynamic filesystem mount. MFS has a root CID which is transparently
43 +single, dynamic filesystem mount. MFS has a root CID that is transparently
44 updated when a change happens (and can be checked with "ipfs files stat /").
45
46 All files and folders within MFS are respected and will not be cleaned up
@@ -61,7 +61,7 @@ to true. Use caution when setting this flag to false. It will improve
61 performance for large numbers of file operations, but it does so at the cost
62 of consistency guarantees. If the daemon is unexpectedly killed before running
63 'ipfs files flush' on the files in question, then data may be lost. This also
64 -applies to running 'ipfs repo gc' concurrently with '--flush=false'
64 +applies to run 'ipfs repo gc' concurrently with '--flush=false'
65 operations.
66 `,
67 },
@@ -552,10 +552,10 @@ const (
552
553 var filesReadCmd = &cmds.Command{
554 Helptext: cmds.HelpText{
555 - Tagline: "Read a file in a given mfs.",
555 + Tagline: "Read a file in a given MFS.",
556 ShortDescription: `
557 Read a specified number of bytes from a file at a given offset. By default,
558 -will read the entire file similar to unix cat.
558 +it will read the entire file similar to the Unix cat.
559
560 Examples:
561
@@ -647,7 +647,7 @@ var filesMvCmd = &cmds.Command{
647 Helptext: cmds.HelpText{
648 Tagline: "Move files.",
649 ShortDescription: `
650 -Move files around. Just like traditional unix mv.
650 +Move files around. Just like the traditional Unix mv.
651
652 Example:
653
@@ -702,7 +702,7 @@ a beginning offset to write to. The entire length of the input will be
702 written.
703
704 If the '--create' option is specified, the file will be created if it does not
705 -exist. Nonexistant intermediate directories will not be created unless the
705 +exist. Nonexistent intermediate directories will not be created unless the
706 '--parents' option is specified.
707
708 Newly created files will have the same CID version and hash function of the
@@ -712,7 +712,7 @@ Newly created leaves will be in the legacy format (Protobuf) if the
712 CID version is 0, or raw if the CID version is non-zero. Use of the
713 '--raw-leaves' option will override this behavior.
714
715 -If the '--flush' option is set to false, changes will not be propogated to the
715 +If the '--flush' option is set to false, changes will not be propagated to the
716 merkledag root. This can make operations much faster when doing a large number
717 of writes to a deeper directory structure.
718
@@ -895,7 +895,7 @@ var filesFlushCmd = &cmds.Command{
895 Helptext: cmds.HelpText{
896 Tagline: "Flush a given path's data to disk.",
897 ShortDescription: `
898 -Flush a given path to disk. This is only useful when other commands
898 +Flush a given path to the disk. This is only useful when other commands
899 are run with the '--flush=false'.
900 `,
901 },