kubo/core
Remco Bloemen a90f4967e3 gateway: re-use resolved path
Instead of resolving a node, we resolve a path. This resolved path
is then re-used for Cat and Ls. This way, a resolve operation is
only done once.

The error messages for a failed resolve is changed from `ipfs cat …`
to `ipfs resolve …` to better reflect the API calls. The test is
updated accordingly.

License: MIT
Signed-off-by: Remco Bloemen <remco@2π.com>
2017-04-20 08:17:45 +01:00
..
commands test: skip the require all helptext test 2017-03-24 18:21:40 +01:00
coreapi fix: multiple govet warnings 2017-03-24 01:02:50 +01:00
corehttp gateway: re-use resolved path 2017-04-20 08:17:45 +01:00
corenet update go-libp2p-kad-dht with getclosestpeers fix 2017-03-05 23:06:04 -08:00
corerepo gc: address CR comments 2017-03-20 14:46:02 -04:00
corerouting update go-libp2p-kad-dht with getclosestpeers fix 2017-03-05 23:06:04 -08:00
coreunix fix go vet issues in hamt sharding PR 2017-03-23 18:01:57 -07:00
mock Add DisableNatPortMap option. 2017-03-18 18:50:10 -04:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
bootstrap_test.go update go-libp2p-kad-dht with getclosestpeers fix 2017-03-05 23:06:04 -08:00
bootstrap.go update go-libp2p-kad-dht with getclosestpeers fix 2017-03-05 23:06:04 -08:00
builder.go Make Golint happy in the blocks submodule. 2017-03-24 16:46:42 +01:00
core_test.go run gofmt 2016-10-12 07:00:38 -07:00
core.go Add DisableNatPortMap option. 2017-03-18 18:50:10 -04:00
pathresolver_test.go make path resolver no longer require whole node for construction 2016-10-25 15:04:44 -07:00
pathresolver.go update go-multihash and bubble up deps 2017-02-12 12:25:41 -08:00