mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 05:12:10 +00:00
parent
171cd0dfe1
commit
d3a6e2a991
@ -63,9 +63,9 @@ type Backend interface {
|
|||||||
|
|
||||||
// Lister implements listing data items stored in a backend.
|
// Lister implements listing data items stored in a backend.
|
||||||
type Lister interface {
|
type Lister interface {
|
||||||
// List returns a channel that yields all names of blobs of type t in
|
// List returns a channel that yields all names of blobs of type t in an
|
||||||
// lexicographic order. A goroutine is started for this. If the channel
|
// arbitrary order. A goroutine is started for this. If the channel done is
|
||||||
// done is closed, sending stops.
|
// closed, sending stops.
|
||||||
List(t Type, done <-chan struct{}) <-chan string
|
List(t Type, done <-chan struct{}) <-chan string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user