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

Method flushLogs

cli/cliui/provisionerjob.go:297–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295}
296
297func (s *stageWriter) flushLogs() {
298 if s.silentLogs {
299 _, _ = io.Copy(s.w, &s.logBuf)
300 }
301 s.logBuf.Reset()
302}

Callers 1

FailMethod · 0.95

Calls 2

CopyMethod · 0.65
ResetMethod · 0.65

Tested by

no test coverage detected