Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
858 B · 32 lines
Go
at next-dev
123456789101112131415161718192021222324252627282930313233// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package org_tangled
// schema: org.tangled.repo.forkSync
import ( "context"
"github.com/bluesky-social/indigo/lex/util")
const ( RepoForkSyncNSID = "org.tangled.repo.forkSync")
// RepoForkSync_Input is the input argument to a org.tangled.repo.forkSync call.type RepoForkSync_Input struct { // branch: Branch to fetch from the upstream Branch string `json:"branch" cborgen:"branch"` // repo: DID of the fork repository Repo string `json:"repo" cborgen:"repo"`}
// RepoForkSync calls the XRPC method "org.tangled.repo.forkSync".func RepoForkSync(ctx context.Context, c util.LexClient, input *RepoForkSync_Input) error { if err := c.LexDo(ctx, util.Procedure, "application/json", "org.tangled.repo.forkSync", nil, input, nil); err != nil { return err }
return nil}