MCPcopy
hub / github.com/kopia/kopia / Bytes

Method Bytes

internal/epoch/epoch_manager_test.go:36–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (n *fakeIndex) Bytes() []byte {
37 v, err := json.Marshal(n)
38 if err != nil {
39 panic("err: " + err.Error())
40 }
41
42 return v
43}
44
45func parseFakeIndex(b []byte) (*fakeIndex, error) {
46 r := &fakeIndex{}

Callers 15

unzipFunction · 0.45
SendMethod · 0.45
verifyTemplateFunction · 0.45
maybeDecryptBlobMethod · 0.45
showContentWithFlagsFunction · 0.45
runCompressionMethod · 0.45
fetchBlobInternalMethod · 0.45
GetOrLoadMethod · 0.45
flushNextBufferMethod · 0.45
compactMethod · 0.45

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected