PathsOfSignerTarget queries the index about "camliPath:" URL-dispatch attributes. It returns a list of all the path claims that have been signed by the provided signer and point at the given target. This is used when editing a permanode, to figure work up the name resolution tree backwards ultimat
(ctx context.Context, signer, target blob.Ref)
| 125 | // camliRoot permanode (which should know its base URL), and |
| 126 | // then the complete URL(s) of a target can be found. |
| 127 | PathsOfSignerTarget(ctx context.Context, signer, target blob.Ref) ([]*camtypes.Path, error) |
| 128 | |
| 129 | // All Path claims for (signer, base, suffix) |
| 130 | PathsLookup(ctx context.Context, signer, base blob.Ref, suffix string) ([]*camtypes.Path, error) |