kubo/core
adamliesko a09d974652 core: get cmd outPath removes trailing slash - fixes #3729
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: adamliesko <adamliesko@gmail.com>
2017-11-18 20:04:18 +01:00
..
commands core: get cmd outPath removes trailing slash - fixes #3729 2017-11-18 20:04:18 +01:00
coreapi gx: update cbor to 0.2.3 2017-10-05 13:54:07 +02:00
coredag add raw support to the dag put command. 2017-10-10 19:58:23 -07:00
corehttp update to go-ipfs-cmds 0.4.9 2017-11-17 15:22:42 +01:00
corerepo "repo stat": Make special value to represent NoLimit a constant. 2017-09-18 19:26:16 -04:00
coreunix cmd: use go-ipfs-cmds 2017-11-17 15:22:41 +01:00
mock gx update go-peerstream, go-libp2p-floodsub 2017-10-19 08:20:35 -07:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
bootstrap_test.go update deps for new connmgr code 2017-10-14 05:38:52 -07:00
bootstrap.go cmd: use go-ipfs-cmds 2017-11-17 15:22:41 +01:00
builder.go Reprovider strategies 2017-08-13 00:02:23 +02:00
core_test.go cmd: use go-ipfs-cmds 2017-11-17 15:22:41 +01:00
core.go update dht to remove error log 2017-10-28 14:00:06 -07:00
pathresolver_test.go make path resolver no longer require whole node for construction 2016-10-25 15:04:44 -07:00
pathresolver.go Add error message to event logs in path resolution 2017-11-15 12:27:22 -08:00