Remove Deleter interface

This commit is contained in:
Alexander Neumann
2017-10-14 15:56:38 +02:00
parent b8af7f63a0
commit e56370eb5b
8 changed files with 11 additions and 36 deletions

View File

@@ -44,11 +44,6 @@ type Repository interface {
SaveTree(context.Context, *Tree) (ID, error)
}
// Deleter removes all data stored in a backend/repo.
type Deleter interface {
Delete(context.Context) error
}
// Lister allows listing files in a backend.
type Lister interface {
List(context.Context, FileType) <-chan string