Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ Write
Method
Write
internal/gh/gh.go:79–79 ·
view source on GitHub ↗
Write persists modifications to the configuration.
()
Source
from the content-addressed store, hash-verified
77
78
// Write persists modifications to the configuration.
79
Write() error
80
}
81
82
// Migration is the interface that config migrations must implement.
Callers
15
TestClientRemotes
Function · 0.65
TestClientRemotes_no_resolved_remote
Function · 0.65
content
Function · 0.65
NewMockHttpClient
Function · 0.65
Write
Method · 0.65
Write
Method · 0.65
renderMan
Function · 0.65
Serialize
Function · 0.65
writeTo
Function · 0.65
preMigrationLogin
Function · 0.65
StubWriteConfig
Function · 0.65
Write
Method · 0.65
Implementers
2
cfg
internal/config/config.go
ConfigMock
internal/gh/mock/config.go
Calls
no outgoing calls
Tested by
5
TestClientRemotes
Function · 0.52
TestClientRemotes_no_resolved_remote
Function · 0.52
preMigrationLogin
Function · 0.52
run
Method · 0.52
TestRunFormTranslatesErrUserAborted
Function · 0.52