(log string)
| 38 | } |
| 39 | |
| 40 | func (b *BuildLogRecorder) append(log string) { |
| 41 | b.mu.Lock() |
| 42 | defer b.mu.Unlock() |
| 43 | |
| 44 | b.logs = append(b.logs, log) |
| 45 | } |
| 46 | |
| 47 | // FakeBuildLogRecorder starts a server that fakes a Coder |
| 48 | // deployment for the purpose of pushing build logs. |
no outgoing calls
no test coverage detected