Add TODO to rename StreamingFetcher to be Fetcher

This commit is contained in:
Brad Fitzpatrick 2011-05-11 06:29:40 -07:00
parent 9a6b0799d2
commit 68898203e5
1 changed files with 3 additions and 0 deletions

View File

@ -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