MCPcopy
hub / github.com/perkeep/perkeep / JSON

Method JSON

pkg/schema/blob.go:70–70  ·  view source on GitHub ↗

JSON returns the JSON bytes of the schema blob.

()

Source from the content-addressed store, hash-verified

68
69// JSON returns the JSON bytes of the schema blob.
70func (b *Blob) JSON() string { return b.str }
71
72// Blob returns itself, so it satisfies the AnyBlob interface.
73func (b *Blob) Blob() *Blob { return b }

Callers 15

fileMapFromDuplicateMethod · 0.45
UploadBlobMethod · 0.45
searchDescribeSetupFunction · 0.45
TestPackerBoundarySplitsFunction · 0.45
SignMethod · 0.45
verifySignatureMethod · 0.45
SignMethod · 0.45
UploadFileMethod · 0.45
UploadDirMethod · 0.45
populateFunction · 0.45
putMethod · 0.45
uploadBytesFunction · 0.45

Calls

no outgoing calls

Tested by 14

searchDescribeSetupFunction · 0.36
TestPackerBoundarySplitsFunction · 0.36
populateFunction · 0.36
putMethod · 0.36
TestJSONFunction · 0.36
TestRegularFileFunction · 0.36
TestSymlinkFunction · 0.36
TestAttributeFunction · 0.36
TestDeleteClaimFunction · 0.36
TestIssue305Function · 0.36
TestStaticFIFOFunction · 0.36
TestStaticSocketFunction · 0.36