Add commands 'cat','list' and 'ls'

This commit is contained in:
Alexander Neumann 2014-10-05 14:44:59 +02:00
parent f848afed27
commit 09702c1c61
5 changed files with 243 additions and 11 deletions

View file

@ -29,7 +29,7 @@ func NewContentHandler(be backend.Server, key *Key) (*ContentHandler, error) {
return ch, nil
}
// LoadSnapshotadds all blobs from a snapshot into the content handler and returns the snapshot.
// LoadSnapshot adds all blobs from a snapshot into the content handler and returns the snapshot.
func (ch *ContentHandler) LoadSnapshot(id backend.ID) (*Snapshot, error) {
sn, err := LoadSnapshot(ch, id)
if err != nil {