Monorepo for Tangled
Something went wrong. Try again.
Go
12345678910111213141516171819202122232425262728293031323334// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.git.temp.formatPatch
import ( "bytes" "context"
"github.com/bluesky-social/indigo/lex/util")
const ( GitTempFormatPatchNSID = "sh.tangled.git.temp.formatPatch")
// GitTempFormatPatch calls the XRPC method "sh.tangled.git.temp.formatPatch".//// repo: DID of the repositoryfunc GitTempFormatPatch(ctx context.Context, c util.LexClient, from string, repo string, to string) ([]byte, error) { buf := new(bytes.Buffer)
params := map[string]interface{}{} params["from"] = from params["repo"] = repo params["to"] = to if err := c.LexDo(ctx, util.Query, "", "sh.tangled.git.temp.formatPatch", params, nil, buf); err != nil { return nil, err }
return buf.Bytes(), nil}