···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package tangled
44+55+// schema: sh.tangled.repo.describeRepo
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/lex/util"
1111+)
1212+1313+const (
1414+ RepoDescribeRepoNSID = "sh.tangled.repo.describeRepo"
1515+)
1616+1717+// RepoDescribeRepo_Output is the output of a sh.tangled.repo.describeRepo call.
1818+type RepoDescribeRepo_Output struct {
1919+ // ownerDid: DID of the current owner according to the knot.
2020+ OwnerDid string `json:"ownerDid" cborgen:"ownerDid"`
2121+ RepoDid string `json:"repoDid" cborgen:"repoDid"`
2222+ // rkey: Current rkey of the sh.tangled.repo record tracked by this knot
2323+ Rkey string `json:"rkey" cborgen:"rkey"`
2424+}
2525+2626+// RepoDescribeRepo calls the XRPC method "sh.tangled.repo.describeRepo".
2727+//
2828+// repoDid: DID of the git repo as minted by the knot
2929+func RepoDescribeRepo(ctx context.Context, c util.LexClient, repoDid string) (*RepoDescribeRepo_Output, error) {
3030+ var out RepoDescribeRepo_Output
3131+3232+ params := map[string]interface{}{}
3333+ params["repoDid"] = repoDid
3434+ if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.describeRepo", params, nil, &out); err != nil {
3535+ return nil, err
3636+ }
3737+3838+ return &out, nil
3939+}