MCPcopy Index your code
hub / github.com/coder/coder / InTx

Method InTx

scripts/intxcheck/testdata/src/example/example.go:8–8  ·  view source on GitHub ↗
(func(Store) error, *TxOptions)

Source from the content-addressed store, hash-verified

6
7type Store interface {
8 InTx(func(Store) error, *TxOptions) error
9 GetUser(context.Context) (string, error)
10 GetConfig(context.Context) (string, error)
11}

Callers 15

patchUserSecretMethod · 0.65
SeedAIProvidersFromEnvFunction · 0.65
InTxMethod · 0.65
putUserPasswordMethod · 0.65
CreateUserMethod · 0.65
patchTemplateMetaMethod · 0.65
createWorkspaceFunction · 0.65
putWorkspaceTTLMethod · 0.65
putExtendWorkspaceMethod · 0.65

Calls

no outgoing calls

Tested by 15

InTxMethod · 0.52
InTxMethod · 0.52
InTxMethod · 0.52
TestNoopNoDiffFunction · 0.52
TestSerializedRetryFunction · 0.52
TestNestedInTxFunction · 0.52
TestReadModifyUpdate_OKFunction · 0.52
InTxMethod · 0.52