perkeep/pkg/blob
Brad Fitzpatrick bf94a73859 Get rid of SeekFetcher vs StreamingFetcher distinction and complexity.
StreamingFetcher is now just Fetcher, and its FetchStreaming is now
just Fetch.

SeekFetcher is gone. Blobs are max 16 MB anyway, so we can slurp to
memory when needed. The main thing that cared about SeekFetcher
was the GET handler, ServeBlobref, because http.ServeContent needed
one for range requests. That's rewritten in an earlier commit, using
the FakeSeeker from another earlier commit.

Lot of code got simpler as a result.

Change-Id: Ib819413e48a8f9b8d97f596d0fbf771dab211f11
2014-03-14 12:29:13 -07:00
..
blob.go Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
chanpeek.go blob: more porting blobref to new pkg blob 2013-08-03 19:08:17 -07:00
fetcher.go Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
ref.go blob: move Blob type to its own file, add FromFetcher, FromReader 2014-03-14 11:47:37 -07:00
ref_test.go pkg/client: Search fix zero-value Describe queries. 2014-01-04 08:11:23 -08:00