TODO: blobref representation

Change-Id: Ide46b799d3a134952f6037ad501f2e55dbb361e1
This commit is contained in:
Brad Fitzpatrick 2013-07-07 11:29:10 -07:00
parent c4145082e9
commit de00851493
1 changed files with 10 additions and 0 deletions

10
TODO
View File

@ -4,6 +4,16 @@ There are two TODO lists. This file (good for airplanes) and the online bug trac
Offline list:
-- change representation of *blobref.BlobRef to a value type with smaller
memory usage and no internal string cache, so it can be used as a map
key:
type BlobRef struct {
hash crypto.Hash
sum interface{} // [hash.Size()]byte
}
The string cache, if needed, can in the blobref package, keyed by
blobref.
-- verify that the HTTP blob upload interface caps uploads at MaxBlobSize
before giving it to storage impls