2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 23:06:32 +00:00

Drop requirement from List()

Closes #305
This commit is contained in:
Alexander Neumann 2016-01-23 12:47:16 +01:00
parent 171cd0dfe1
commit d3a6e2a991

View File

@ -63,9 +63,9 @@ type Backend interface {
// Lister implements listing data items stored in a backend.
type Lister interface {
// List returns a channel that yields all names of blobs of type t in
// lexicographic order. A goroutine is started for this. If the channel
// done is closed, sending stops.
// List returns a channel that yields all names of blobs of type t in an
// arbitrary order. A goroutine is started for this. If the channel done is
// closed, sending stops.
List(t Type, done <-chan struct{}) <-chan string
}