core/commands/files: MFS docs, minor improvements after user feedback
Hector Sanjuan committed
Feb 7, 2020 at 15:35 UTC
38ca2fbde2b8f8bb301ed64e72a3456667b783fd
1 file changed
+8
-4
core/commands/files.go
+8
-4
@@ -45,10 +45,14 @@ 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
47
during garbage collections. MFS is independent from the list of pinned items
48
-("ipfs pin ls"). Calls to "ipfs pin add" and "ipfs pin rm" do not affect
49
-content on MFS. Similarly, content added with "ipfs add" (which by default
50
-pins), is not added to MFS. Any content can be put into MFS with the command
51
-"ipfs files cp /ipfs/<cid> /some/path/".
48
+("ipfs pin ls"). Calls to "ipfs pin add" and "ipfs pin rm" will add and remove
49
+an separate pin independent of the content on MFS. If MFS content that was
50
+additionally pinned is removed by calling "ipfs files rm", it will still
51
+remain pinned.
52
+
53
+Content added with "ipfs add" (which by default also becomes pinned), is not
54
+added to MFS. Any content can be put into MFS with the command "ipfs files cp
55
+/ipfs/<cid> /some/path/".
56
57
58
NOTE: