Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
7
type
Store
interface
{
8
InTx(
func
(Store) error, *TxOptions) error
9
GetUser(context.Context) (string, error)
10
GetConfig(context.Context) (string, error)
11
}
Callers
15
patchUserSecret
Method · 0.65
SeedAIProvidersFromEnv
Function · 0.65
InTx
Method · 0.65
putUserAppearanceSettings
Method · 0.65
putUserPreferenceSettings
Method · 0.65
putUserPassword
Method · 0.65
CreateUser
Method · 0.65
postTemplateByOrganization
Method · 0.65
patchTemplateMeta
Method · 0.65
createWorkspace
Function · 0.65
putWorkspaceTTL
Method · 0.65
putExtendWorkspace
Method · 0.65
Calls
no outgoing calls
Tested by
15
InTx
Method · 0.52
InTx
Method · 0.52
InTx
Method · 0.52
TestNoopNoDiff
Function · 0.52
TestSerializedRetry
Function · 0.52
TestNestedInTx
Function · 0.52
TestInTx_CapturesRollbackError
Function · 0.52
TestReadModifyUpdate_OK
Function · 0.52
TestReadModifyUpdate_RetryOK
Function · 0.52
TestReadModifyUpdate_HardError
Function · 0.52
TestReadModifyUpdate_TooManyRetries
Function · 0.52
InTx
Method · 0.52