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?