MCPcopy Create free account
hub / github.com/go-task/task / Write

Method Write

task_test.go:388–392  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

386}
387
388func (sb *SyncBuffer) Write(p []byte) (n int, err error) {
389 sb.mu.Lock()
390 defer sb.mu.Unlock()
391 return sb.buf.Write(p)
392}
393
394// fileContentTest provides a basic reusable test-case for running a Taskfile
395// and inspect generated files.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected