Commit Graph

3 Commits

Author SHA1 Message Date
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
Brad Fitzpatrick d5ec2925dd namespace: finish tests
Change-Id: Ib34364473e407e78fd691256ad1afe8c810911a9
2014-01-20 13:08:37 -08:00
Brad Fitzpatrick bb5059bafd namespace: implementation, and initial basic tests using storagetest.
Change-Id: Ib53822fb530f9a1bd2a3c0658120639d5bf4426a
2014-01-19 22:47:35 -08:00