perkeep/pkg/schema
Brad Fitzpatrick 38f10a7bd0 all, testhooks: use sha224 by default, add hook for some tests to use sha-1
Remove the blob.SHA{1,224}From{Bytes,String} constructors too. No
longer used. This adds blob.RefFromBytes which was missing. We had
blob.RefFromString. Now everything uses blob.RefFrom* instead of
specifying a hash function.

Some tests set a flag to force use of SHA-1 because there was too much
golden data to update. We can remove those one-by-one over time as we
fix up tests.

Updates #537

Change-Id: Ibe6428089a6221594c2b751f53f98b03b5a28dc2
2018-01-09 20:03:38 -08:00
..
nodeattr Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
testdata schema: use GPS location to find timezone from EXIF when UTC offset is unknown 2014-07-13 10:26:54 -07:00
.gitignore Update from r60 to [almost] Go 1. 2012-02-18 21:53:06 -08:00
blob.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
dirreader.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
fileread_test.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
filereader.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
filewriter.go all, testhooks: use sha224 by default, add hook for some tests to use sha-1 2018-01-09 20:03:38 -08:00
filewriter_test.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
lookup.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
lookup_cgo.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
lookup_nocgo.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
schema.go all, testhooks: use sha224 by default, add hook for some tests to use sha-1 2018-01-09 20:03:38 -08:00
schema_darwin.go schema: lot of Blob/Builder work, and kill schema.Map. 2013-01-21 20:56:12 -08:00
schema_linux.go schema: lot of Blob/Builder work, and kill schema.Map. 2013-01-21 20:56:12 -08:00
schema_posix.go schema: lot of Blob/Builder work, and kill schema.Map. 2013-01-21 20:56:12 -08:00
schema_public_test.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
schema_test.go all, testhooks: use sha224 by default, add hook for some tests to use sha-1 2018-01-09 20:03:38 -08:00
sign.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
sign_test.go all, testhooks: use sha224 by default, add hook for some tests to use sha-1 2018-01-09 20:03:38 -08:00