forked from TrueCloudLab/restic
Simply backend interface
Rename CreateBlob() method to Create(), remove old Create* methods
This commit is contained in:
parent
35636a9d92
commit
72c951a6ec
6 changed files with 82 additions and 210 deletions
|
@ -38,9 +38,7 @@ type Getter interface {
|
|||
}
|
||||
|
||||
type Creater interface {
|
||||
Create(Type, []byte) (ID, error)
|
||||
CreateFrom(Type, io.Reader) (ID, error)
|
||||
CreateBlob(Type) (Blob, error)
|
||||
Create(Type) (Blob, error)
|
||||
}
|
||||
|
||||
type Tester interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue