MCPcopy
hub / github.com/ipfs/kubo / Bytes

Method Bytes

test/cli/harness/buffer.go:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (b *Buffer) Bytes() []byte {
44 b.m.Lock()
45 defer b.m.Unlock()
46 return []byte(b.b.String())
47}
48
49func (b *Buffer) Lines() []string {
50 b.m.Lock()

Callers 15

makeTarGzFunction · 0.95
dagPutFunction · 0.95
TestProfilerFunction · 0.95
RunThreeLeggedCatFunction · 0.95
DirectAddCatFunction · 0.95
benchCatFunction · 0.95
buildTestTarGzFunction · 0.95
buildTestZipFunction · 0.95
UnixFSDataTypeMethod · 0.95
UnixFSHAMTFanoutMethod · 0.95
InspectPBNodeMethod · 0.95
TestFUSERealWorldFunction · 0.95

Calls 1

StringMethod · 0.45

Tested by 15

makeTarGzFunction · 0.76
TestProfilerFunction · 0.76
RunThreeLeggedCatFunction · 0.76
DirectAddCatFunction · 0.76
benchCatFunction · 0.76
buildTestTarGzFunction · 0.76
buildTestZipFunction · 0.76
TestFUSERealWorldFunction · 0.76
makeTestCarFunction · 0.76
runMigrationOnJSONFunction · 0.76
RandomBytesFunction · 0.36
TestDHTOptimisticProvideFunction · 0.36