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

Method Close

cli/clilog/clilog.go:224–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224func (c *LumberjackWriteCloseFixer) Close() error {
225 c.mu.Lock()
226 defer c.mu.Unlock()
227
228 c.closed = true
229 return c.Writer.Close()
230}
231
232func (c *LumberjackWriteCloseFixer) Write(p []byte) (int, error) {
233 c.mu.Lock()

Callers 1

workspaceAgentFunction · 0.95

Calls 3

CloseMethod · 0.65
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected