Skip to content
Snippets Groups Projects
Select Git revision
  • b967ec4f4423dd94b01ebc9481d6cc6b863ff784
  • master default protected
  • no-goprocess
  • feat-mainnet-autoconfig
  • telemetry-plugin2
  • fix/add-api-v0-log--get-level
  • fix/10837-provide-according-to-strategy
  • spellcheck
  • docs-release-checklist-037
  • release
  • release-v0.36.0
  • telemetry-plugin
  • reprovide-sweep
  • fix-editor-env-handling
  • ux-acc-dht-note
  • fix-flush-files-rm
  • unixfs-percent-encoding-poc
  • fix-flaky-verify-test
  • fix/systemd-path
  • release-v0.35.0
  • staging
  • v0.36.0
  • v0.36.0-rc2
  • v0.36.0-rc1
  • v0.35.0
  • v0.35.0-rc2
  • v0.35.0-rc1
  • v0.34.1
  • v0.34.0
  • v0.34.0-rc2
  • v0.34.0-rc1
  • v0.33.2
  • v0.33.1
  • v0.33.0
  • v0.33.0-rc3
  • v0.33.0-rc2
  • v0.33.0-rc1
  • v0.32.1
  • v0.32.0
  • v0.32.0-rc2
  • v0.32.0-rc1
41 results

get.go

Blame
  • user avatar
    adamliesko authored
    When using path with trailing slashes, ipfs get command had issues
    with trying to store content into '.' folder (as the file part of the path
    was empty). Now, it correctly stores the file into desired folder,
    thanks to the removal of trailing slash by introducing a
    getOutPath function in get command, which does proper parsing
    Of the output path.
    
    BEFORE:
     $  .pfs get /ipns/multiformats.io/
    Saving file(s) to .
    
    NOW:
    $ ./ipfs get /ipns/multiformats.io/
    Saving file(s) to multiformats.io
    
    License: MIT
    Signed-off-by: default avataradamliesko <adamliesko@gmail.com>
    a09d9746
    History
    get.go 6.77 KiB