• Lewis Marshall's avatar
    cmd/swarm, swarm/api/client: add HTTP API client and 'swarm ls' command (#3742) · b319f027
    Lewis Marshall authored
    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.
    b319f027
Name
Last commit
Last update
..
client Loading commit data...
http Loading commit data...
testdata/test0 Loading commit data...
api.go Loading commit data...
api_test.go Loading commit data...
config.go Loading commit data...
config_test.go Loading commit data...
filesystem.go Loading commit data...
filesystem_test.go Loading commit data...
fuse.go Loading commit data...
manifest.go Loading commit data...
manifest_test.go Loading commit data...
storage.go Loading commit data...
storage_test.go Loading commit data...
swarmfs.go Loading commit data...
swarmfs_fallback.go Loading commit data...
swarmfs_test.go Loading commit data...
swarmfs_unix.go Loading commit data...
testapi.go Loading commit data...