MCPcopy Index your code
hub / github.com/coder/coder / NewSyncWriter

Function NewSyncWriter

scaletest/loadtestutil/syncwriter.go:15–20  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

13}
14
15func NewSyncWriter(w io.Writer) *SyncWriter {
16 return &SyncWriter{
17 mut: &sync.Mutex{},
18 w: w,
19 }
20}
21
22// Write implements io.Writer.
23func (sw *SyncWriter) Write(p []byte) (n int, err error) {

Callers 15

RunMethod · 0.92
CleanupMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
RunReturningUserMethod · 0.92
RunReturningWorkspaceMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
CleanupMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
CleanupMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected