Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
// Lexicon schema: com.atproto.sync.getRepo
package atproto
import ( "bytes" "context"
lexutil "github.com/bluesky-social/indigo/lex/util")
// SyncGetRepo calls the XRPC method "com.atproto.sync.getRepo".//// did: The DID of the repo.// since: The revision ('rev') of the repo to create a diff from.func SyncGetRepo(ctx context.Context, c lexutil.LexClient, did string, since string) ([]byte, error) { buf := new(bytes.Buffer)
params := map[string]interface{}{} params["did"] = did if since != "" { params["since"] = since } if err := c.LexDo(ctx, lexutil.Query, "", "com.atproto.sync.getRepo", params, nil, buf); err != nil { return nil, err }
return buf.Bytes(), nil}