plugeth/swarm/api
Lewis Marshall b319f027a0 cmd/swarm, swarm/api/client: add HTTP API client and 'swarm ls' command (#3742)
This adds a swarm ls command which lists files and directories stored in a
manifest. Rather than listing all files, it uses "directory prefixes" in case there are a
lot of files in a manifest but you just want to traverse it.

This also includes some refactoring to the tests and the introduction of a
swarm/api/client package to make things easier to test.
2017-04-05 00:20:07 +02:00
..
client cmd/swarm, swarm/api/client: add HTTP API client and 'swarm ls' command (#3742) 2017-04-05 00:20:07 +02:00
http cmd/swarm, swarm/api/client: add HTTP API client and 'swarm ls' command (#3742) 2017-04-05 00:20:07 +02:00
testdata/test0 core, core/vm: added gas price variance table 2016-10-14 18:09:17 +02:00
api_test.go all: blidly swap out glog to our log15, logs need rework 2017-02-23 12:16:44 +02:00
api.go eth, les, swarm: fix go vet issues sufraced by log15 2017-02-23 12:16:45 +02:00
config_test.go swarm/api: Update ENS root address for Ropsten & prod (#3391) 2016-12-01 19:33:10 +01:00
config.go cmd/swarm, swarm/api: bzzr improve + networkid prio 2017-01-27 08:18:13 +01:00
filesystem_test.go all: fix ineffectual assignments and remove uses of crypto.Sha3 2017-01-09 16:24:42 +01:00
filesystem.go all: blidly swap out glog to our log15, logs need rework 2017-02-23 12:16:44 +02:00
fuse.go swarm/api: improve FUSE build constraints, logging and APIs (#3818) 2017-03-31 12:11:01 +02:00
manifest_test.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
manifest.go all: blidly swap out glog to our log15, logs need rework 2017-02-23 12:16:44 +02:00
storage_test.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
storage.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
swarmfs_fallback.go swarm/api: improve FUSE build constraints, logging and APIs (#3818) 2017-03-31 12:11:01 +02:00
swarmfs_test.go swarm/api: improve FUSE build constraints, logging and APIs (#3818) 2017-03-31 12:11:01 +02:00
swarmfs_unix.go swarm/api: improve FUSE build constraints, logging and APIs (#3818) 2017-03-31 12:11:01 +02:00
swarmfs.go swarm/api: improve FUSE build constraints, logging and APIs (#3818) 2017-03-31 12:11:01 +02:00
testapi.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00