Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Write
Method
Write
script/ghmock/terminal.go:149–153 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
147
}
148
149
func
(l *lockedWriter) Write(p []byte) (int, error) {
150
l.mu.Lock()
151
defer
l.mu.Unlock()
152
return
l.w.Write(p)
153
}
Callers
1
runInTerminal
Function · 0.95
Calls
1
Write
Method · 0.65
Tested by
no test coverage detected