Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Write
Method
Write
internal/gh/gh.go:87–87 ·
view source on GitHub ↗
Write persists modifications to the configuration.
()
Source
from the content-addressed store, hash-verified
85
86
// Write persists modifications to the configuration.
87
Write() error
88
}
89
90
// Migration is the interface that config migrations must implement.
Callers
15
ServeHTTP
Method · 0.65
writeExportDir
Function · 0.65
writeTarGzip
Function · 0.65
saveResponses
Method · 0.65
download
Method · 0.65
Write
Method · 0.65
Write
Method · 0.65
fakeGH
Function · 0.65
recordingHandler
Function · 0.65
Write
Method · 0.65
WriteFile
Function · 0.65
WriteFile
Method · 0.65
Implementers
2
cfg
internal/config/config.go
ConfigMock
internal/gh/mock/config.go
Calls
no outgoing calls
Tested by
8
fakeGH
Function · 0.52
TestOpenFileAllowsTrustedParentSymlinks
Function · 0.52
TestCreateReplacePreservesDevice
Function · 0.52
Test_extractZip
Function · 0.52
TestFrameReaderSplitCRLFWithBufferedFrameEnd
Function · 0.52
preMigrationLogin
Function · 0.52
run
Method · 0.52
TestRunFormTranslatesErrUserAborted
Function · 0.52