MCPcopy
hub / github.com/etcd-io/bbolt / Write

Method Write

cmd/bbolt/command/command_bench_test.go:20–24  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

18}
19
20func (w *safeWriter) Write(p []byte) (n int, err error) {
21 w.mu.Lock()
22 defer w.mu.Unlock()
23 return w.buf.Write(p)
24}
25
26func (w *safeWriter) String() string {
27 w.mu.Lock()

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected