MCPcopy Create free account
hub / github.com/dave/blast / Write

Method Write

blaster/blaster.go:346–350  ·  view source on GitHub ↗

Write writes to the underlying writer in a thread safe manner.

(p []byte)

Source from the content-addressed store, hash-verified

344
345// Write writes to the underlying writer in a thread safe manner.
346func (t *threadSafeWriter) Write(p []byte) (n int, err error) {
347 t.m.Lock()
348 defer t.m.Unlock()
349 return t.w.Write(p)
350}
351
352type csvReader interface {
353 Read() (record []string, err error)

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected