mirror of https://github.com/perkeep/perkeep.git
TODO: blobref representation
Change-Id: Ide46b799d3a134952f6037ad501f2e55dbb361e1
This commit is contained in:
parent
c4145082e9
commit
de00851493
10
TODO
10
TODO
|
@ -4,6 +4,16 @@ There are two TODO lists. This file (good for airplanes) and the online bug trac
|
||||||
|
|
||||||
Offline list:
|
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
|
-- verify that the HTTP blob upload interface caps uploads at MaxBlobSize
|
||||||
before giving it to storage impls
|
before giving it to storage impls
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue