1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-26 09:47:49 +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
}