MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / Write

Method Write

internal/server/task3939b_push_dispatch_test.go:438–442  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

436}
437
438func (l *pdLogWriter) Write(p []byte) (int, error) {
439 l.mu.Lock()
440 defer l.mu.Unlock()
441 return l.w.Write(p)
442}
443
444// A failed claim logs a fixed line: never the store's error text, which can
445// echo a value, and never an id.

Callers

nothing calls this directly

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected