mirror of https://github.com/perkeep/perkeep.git
Add TODO to rename StreamingFetcher to be Fetcher
This commit is contained in:
parent
9a6b0799d2
commit
68898203e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue