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

Method Write

cmd/bbolt/command/utils_test.go:70–75  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

68}
69
70func (b *ConcurrentBuffer) Write(p []byte) (n int, err error) {
71 b.m.Lock()
72 defer b.m.Unlock()
73
74 return b.buf.Write(p)
75}
76
77func (b *ConcurrentBuffer) String() string {
78 b.m.Lock()

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected