MCPcopy
hub / github.com/docker/compose / String

Method String

pkg/utils/safebuffer.go:51–55  ·  view source on GitHub ↗

String is a thread safe version of bytes.Buffer::String

()

Source from the content-addressed store, hash-verified

49
50// String is a thread safe version of bytes.Buffer::String
51func (b *SafeBuffer) String() string {
52 b.m.RLock()
53 defer b.m.RUnlock()
54 return b.b.String()
55}
56
57// Bytes is a thread safe version of bytes.Buffer::Bytes
58func (b *SafeBuffer) Bytes() []byte {

Callers 2

TestComposeCancelFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestComposeCancelFunction · 0.76