1. 02 Mar, 2020 1 commit
    • Alan Shaw's avatar
      docs: fix example for files.write · 885e1125
      Alan Shaw authored
      * Adds the `--parents` optiont to the first command so that it is runnable
      * Updates the description to specifies the option to use if you _do_ want nonexistant intermediate directories created
      885e1125
  2. 26 Feb, 2020 1 commit
  3. 11 Feb, 2020 1 commit
  4. 07 Feb, 2020 5 commits
  5. 05 Feb, 2020 2 commits
  6. 04 Feb, 2020 2 commits
  7. 29 Jan, 2020 2 commits
  8. 17 Jan, 2020 1 commit
  9. 10 Jan, 2020 2 commits
  10. 08 Jan, 2020 2 commits
    • Steven Allen's avatar
      feat(commands/cid): add a flag for setting the codec · e58a32ab
      Steven Allen authored
      This will be useful when testing `refs local, `repo gc`, and `repo verify`
      commands once we store blocks by multihash instead of by CID. At that point,
      these commands will return raw v1 CIDs as the blockstore won't actually remember
      the codec used to store the block.
      
      Flags choice:
      
      * Ideally, we'd use the `-f, --format` flags like every other command but we're
        already using `-f` (format) for the format string.
      * Alternatively, I'd like to use `-c`. However, we're using _that_ for a global
        `--config` flag (bit of a waste given that it doesn't work...).
      
      `--codec` will have to do for now.
      e58a32ab
    • Steven Allen's avatar
  11. 06 Jan, 2020 7 commits
  12. 25 Dec, 2019 1 commit
  13. 19 Dec, 2019 1 commit
  14. 17 Dec, 2019 1 commit
  15. 14 Dec, 2019 2 commits
  16. 12 Dec, 2019 1 commit
  17. 11 Dec, 2019 1 commit
  18. 05 Dec, 2019 1 commit
  19. 04 Dec, 2019 1 commit
  20. 02 Dec, 2019 2 commits
  21. 25 Nov, 2019 2 commits
    • Oli Evans's avatar
      fix: use if over switch · 7fcf40ee
      Oli Evans authored
      License: MIT
      Signed-off-by: default avatarOli Evans <oli@tableflip.io>
      7fcf40ee
    • Oli Evans's avatar
      fix: ignore nonexistant when force rm · 25694d02
      Oli Evans authored
      - Make `ipfs files rm --force /nonexistant` succeed when the path does not exist.
      - Add shaness test for removing nonexistant paths
      - Refactor duplicated code to find a parent dir into a function
      
      I've been writing scripts against the files api, and having to stat things before removing them is a pain. So this PR aims to make --force do what I'd expect it to.
      
      License: MIT
      Signed-off-by: default avatarOli Evans <oli@tableflip.io>
      25694d02
  22. 18 Nov, 2019 1 commit