From 68898203e5b66b1ca0d8e09e40ac990e39697997 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 11 May 2011 06:29:40 -0700 Subject: [PATCH] Add TODO to rename StreamingFetcher to be Fetcher --- lib/go/camli/blobref/fetcher.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/go/camli/blobref/fetcher.go b/lib/go/camli/blobref/fetcher.go index 0fa52033a..759819fc0 100644 --- a/lib/go/camli/blobref/fetcher.go +++ b/lib/go/camli/blobref/fetcher.go @@ -30,6 +30,9 @@ import ( var _ = log.Printf +// TODO: rename StreamingFetcher to be Fetch (the common case) and +// make a new interface for SeekingFetcher (the rare case) + type Fetcher interface { // Fetch returns a blob. If the blob is not found then // os.ENOENT should be returned for the error (not a wrapped