mirror of https://github.com/perkeep/perkeep.git
fix indent for index doc block
also consistent notation for k -> v mapping within the block Change-Id: I0e18890ec8871057d303d23581ca7e93ff227ef8
This commit is contained in:
parent
a58a090a3f
commit
8f835e102c
|
@ -20,28 +20,27 @@ Package index provides a generic indexing system on top of the abstract Storage
|
||||||
The following keys & values are populated by receiving blobs and queried
|
The following keys & values are populated by receiving blobs and queried
|
||||||
for search operations:
|
for search operations:
|
||||||
|
|
||||||
* Recent Permanodes
|
* Recent Permanodes
|
||||||
"recpn|<pgp-keyid>|<reverse-modtime>|<claim-blobref>" == "<permanode-blobref>"
|
"recpn|<pgp-keyid>|<reverse-modtime>|<claim-blobref>" -> "<permanode-blobref>"
|
||||||
where reverse-modtime flips each digit to '9'-<digit> and prepends "rt" (for reverse time)
|
where reverse-modtime flips each digit to '9'-<digit> and prepends "rt" (for reverse time)
|
||||||
"2011-11-27T01:23:45Z"
|
"2011-11-27T01:23:45Z" = "rt7988-88-72T98:76:54Z"
|
||||||
==> "rt7988-88-72T98:76:54Z"
|
|
||||||
|
|
||||||
* signer blobref of ascii public key -> gpg key id
|
* signer blobref of ascii public key -> gpg key id
|
||||||
"signerkeyid:sha1-ad87ca5c78bd0ce1195c46f7c98e6025abbaf007" = "2931A67C26F5ABDA"
|
"signerkeyid:sha1-ad87ca5c78bd0ce1195c46f7c98e6025abbaf007" = "2931A67C26F5ABDA"
|
||||||
|
|
||||||
* PermanodeOfSignerAttrValue:
|
* PermanodeOfSignerAttrValue:
|
||||||
"signerattrvalue|<keyid>|<URLEscape(attr)>|<URLEscape(value)>|<reverse-claimtime>|<claim-blobref>" == "<permanode>"
|
"signerattrvalue|<keyid>|<URLEscape(attr)>|<URLEscape(value)>|<reverse-claimtime>|<claim-blobref>" -> "<permanode>"
|
||||||
e.g.
|
e.g.
|
||||||
"signerattrvalue|2931A67C26F5ABDA|camliRoot|rootval|"+
|
"signerattrvalue|2931A67C26F5ABDA|camliRoot|rootval|"+
|
||||||
"rt7988-88-71T98:67:60.999876543Z|sha1-bf115940641f1aae2e007edcf36b3b18c17256d9" =>
|
"rt7988-88-71T98:67:60.999876543Z|sha1-bf115940641f1aae2e007edcf36b3b18c17256d9" =
|
||||||
"sha1-7a14cce982aa73ab519e63050f82e2a2adfcf039"
|
"sha1-7a14cce982aa73ab519e63050f82e2a2adfcf039"
|
||||||
|
|
||||||
* Other:
|
* Other:
|
||||||
"meta:<blobref>" == "<size>|<mimetype>"
|
"meta:<blobref>" -> "<size>|<mimetype>"
|
||||||
"have:<blobref>" == "<size>" (used for enumeration, which doesn't need mime type)
|
"have:<blobref>" -> "<size>" (used for enumeration, which doesn't need mime type)
|
||||||
|
|
||||||
* For GetOwnerClaims(permanode, signer):
|
* For GetOwnerClaims(permanode, signer):
|
||||||
"claim|<permanode-blobref>|<keyid>|<date>|<claim-blobref>" => "<URL:type>|<URL:attr>|<URL:value>"
|
"claim|<permanode-blobref>|<keyid>|<date>|<claim-blobref>" -> "<URL:type>|<URL:attr>|<URL:value>"
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package index
|
package index
|
||||||
|
|
Loading…
Reference in New Issue