index: move the TODO items together.

Change-Id: Iaae06d94a77dfcbf3169002bcbdcb3690a2a93e4
This commit is contained in:
Brad Fitzpatrick 2011-12-03 08:05:34 -08:00
parent 9b3a652868
commit df7d19a4b7
1 changed files with 15 additions and 15 deletions

View File

@ -197,11 +197,6 @@ func (x *Index) GetRecentPermanodes(dest chan *search.Result, owner *blobref.Blo
return nil
}
func (x *Index) SearchPermanodesWithAttr(dest chan<- *blobref.BlobRef, request *search.PermanodeByAttrRequest) os.Error {
log.Printf("index: TODO SearchPermanodesWithAttr")
return os.NewError("TODO: SearchPermanodesWithAttr")
}
func (x *Index) GetOwnerClaims(permaNode, owner *blobref.BlobRef) (cl search.ClaimList, err os.Error) {
keyId, err := x.keyId(owner)
if err == ErrNotFound {
@ -252,16 +247,6 @@ func (x *Index) GetBlobMimeType(blob *blobref.BlobRef) (mime string, size int64,
return
}
func (x *Index) ExistingFileSchemas(bytesRef *blobref.BlobRef) ([]*blobref.BlobRef, os.Error) {
log.Printf("index: TODO ExistingFileSchemas")
return nil, os.NewError("TODO: ExistingFileSchemas")
}
func (x *Index) GetFileInfo(fileRef *blobref.BlobRef) (*search.FileInfo, os.Error) {
log.Printf("index: TODO GetFileInfo")
return nil, os.NewError("TODO: GetFileInfo")
}
// maps from blobref of openpgp ascii-armored public key => gpg keyid like "2931A67C26F5ABDA"
func (x *Index) keyId(signer *blobref.BlobRef) (string, os.Error) {
return x.s.Get("signerkeyid:" + signer.String())
@ -423,3 +408,18 @@ func trimRFC3339Subseconds(s string) string {
}
return s[:19] + "Z"
}
func (x *Index) ExistingFileSchemas(bytesRef *blobref.BlobRef) ([]*blobref.BlobRef, os.Error) {
log.Printf("index: TODO ExistingFileSchemas")
return nil, os.NewError("TODO: ExistingFileSchemas")
}
func (x *Index) GetFileInfo(fileRef *blobref.BlobRef) (*search.FileInfo, os.Error) {
log.Printf("index: TODO GetFileInfo")
return nil, os.NewError("TODO: GetFileInfo")
}
func (x *Index) SearchPermanodesWithAttr(dest chan<- *blobref.BlobRef, request *search.PermanodeByAttrRequest) os.Error {
log.Printf("index: TODO SearchPermanodesWithAttr")
return os.NewError("TODO: SearchPermanodesWithAttr")
}