perkeep/cmd/camput
Brad Fitzpatrick 0e8980b54b blobserver: change BlobStatter interface, simplify proxycache
This addresses a long-standing TODO in the BlobStatter interface to
clean it up. Just like all new Go programmers, I misused channels in
APIs. I should've cleaned this up years ago.

While here, I also added a context.

The rest should get contexts later.

This also cleans up a few things here & there.

The pkg/client statting no longer does batching, which added a lot of
complexity. There was a comment saying something like "once we have
SPDY, we can delete this". Well, we have HTTP/2 now, so seems
deletable.

All tests pass.

Change-Id: I034ce07d9b70e5cc9e5482213368993e638d4bc8
2018-01-08 16:54:52 -08:00
..
.gitignore Update from r60 to [almost] Go 1. 2012-02-18 21:53:06 -08:00
androidx.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
attr.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
blobs.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
cache.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
camput.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
camput_test.go pkg/blob, all: support SHA-224 blobrefs, make them the default 2018-01-08 16:34:41 -08:00
delete.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
discard.go blobserver: change BlobStatter interface, simplify proxycache 2018-01-08 16:54:52 -08:00
doc.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
files.go blobserver: change BlobStatter interface, simplify proxycache 2018-01-08 16:54:52 -08:00
init.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
kvcache.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
permanode.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
rawobj.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
remove.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
share.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
stat_darwin.go camput: ignore atimes 2013-01-01 21:05:02 -08:00
stat_linux.go camput: ignore atimes 2013-01-01 21:05:02 -08:00
uploader.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00