mirror of
https://github.com/restic/restic.git
synced 2025-08-14 04:37:43 +00:00
Simply backend interface
Rename CreateBlob() method to Create(), remove old Create* methods
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user