MCPcopy
hub / github.com/perkeep/perkeep / part

Function part

pkg/schema/fileread_test.go:51–53  ·  view source on GitHub ↗
(blob *test.Blob, offset, size uint64)

Source from the content-addressed store, hash-verified

49}
50
51func part(blob *test.Blob, offset, size uint64) *BytesPart {
52 return &BytesPart{BlobRef: blob.BlobRef(), Size: size, Offset: offset}
53}
54
55// filePart returns a BytesPart that references a file JSON schema
56// blob made of the provided content parts.

Callers 2

allFunction · 0.70
fileread_test.goFile · 0.70

Calls 1

BlobRefMethod · 0.65

Tested by

no test coverage detected