From d3a6e2a9915f48aa80208ed205b77a8097fa9253 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 23 Jan 2016 12:47:16 +0100 Subject: [PATCH] Drop requirement from List() Closes #305 --- backend/interface.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/interface.go b/backend/interface.go index 0872188d1..5739aabe9 100644 --- a/backend/interface.go +++ b/backend/interface.go @@ -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 }