From 38ca2fbde2b8f8bb301ed64e72a3456667b783fd Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Fri, 7 Feb 2020 15:35:33 +0100 Subject: [PATCH] core/commands/files: MFS docs, minor improvements after user feedback --- core/commands/files.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/core/commands/files.go b/core/commands/files.go index 457773585..b7f46649a 100644 --- a/core/commands/files.go +++ b/core/commands/files.go @@ -45,10 +45,14 @@ updated when a change happens (and can be checked with "ipfs files stat /"). All files and folders within MFS are respected and will not be cleaned up during garbage collections. MFS is independent from the list of pinned items -("ipfs pin ls"). Calls to "ipfs pin add" and "ipfs pin rm" do not affect -content on MFS. Similarly, content added with "ipfs add" (which by default -pins), is not added to MFS. Any content can be put into MFS with the command -"ipfs files cp /ipfs/ /some/path/". +("ipfs pin ls"). Calls to "ipfs pin add" and "ipfs pin rm" will add and remove +an separate pin independent of the content on MFS. If MFS content that was +additionally pinned is removed by calling "ipfs files rm", it will still +remain pinned. + +Content added with "ipfs add" (which by default also becomes pinned), is not +added to MFS. Any content can be put into MFS with the command "ipfs files cp +/ipfs/ /some/path/". NOTE: