forked from TrueCloudLab/restic
Add commands 'cat','list' and 'ls'
This commit is contained in:
parent
f848afed27
commit
09702c1c61
5 changed files with 243 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue