Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ Write
Method
Write
pkg/surveyext/editor_test.go:259–264 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
257
}
258
259
func
(f *teeWriter) Write(p []byte) (n int, err error) {
260
f.mu.Lock()
261
defer
f.mu.Unlock()
262
_, _ = f.buf.Write(p)
263
return
f.File.Write(p)
264
}
265
266
func
(f *teeWriter) String() string {
267
f.mu.Lock()
Callers
nothing calls this directly
Calls
1
Write
Method · 0.65
Tested by
no test coverage detected