From 4ce12632253ec37ce0c89c1c1f4da1e793d33b5e Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 31 Dec 2012 17:50:01 -0800 Subject: [PATCH] more TODO Change-Id: I3aff3b6c1fea1ecc6937598b0bce38d126135c0a --- TODO | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 8a2b78b85..3ffb15043 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,8 @@ -- rename sha1.New() to blobref.NewHash() and - blobref.SHA1FromString(string) to blobref.FromString(string), to - move current, ephemeral sha1 usage out to one place that's easily fixed - in the future. + blobref.SHA1FromString(string) to blobref.FromString(string), and + add blobref.FromHash(hash.Hash) (using reflect.TypeOf to find + "sha1" prefix) to move current, ephemeral sha1 usage out to one + place that's easily fixed in the future. -- clean up gethandler and its Range stuff. http package does much/all of that now. Use ServeContent instead?