From df7d19a4b718752b0d6427574c6f9fb734ca3777 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 3 Dec 2011 08:05:34 -0800 Subject: [PATCH] index: move the TODO items together. Change-Id: Iaae06d94a77dfcbf3169002bcbdcb3690a2a93e4 --- lib/go/camli/index/index.go | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lib/go/camli/index/index.go b/lib/go/camli/index/index.go index 31692981b..c49bb0af5 100644 --- a/lib/go/camli/index/index.go +++ b/lib/go/camli/index/index.go @@ -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") +}