MCPcopy
hub / github.com/perkeep/perkeep / put

Method put

pkg/server/share_test.go:122–124  ·  view source on GitHub ↗
(blob *schema.Blob)

Source from the content-addressed store, hash-verified

120}
121
122func (st *shareTester) put(blob *schema.Blob) {
123 st.putRaw(blob.BlobRef(), blob.JSON())
124}
125
126func (st *shareTester) get(path string) *shareError {
127 st.rec = httptest.NewRecorder()

Callers 13

TestHandleGetViaSharingFunction · 0.80
onCreateMethod · 0.80
incrBytesMethod · 0.80
enqueueSingleUriMethod · 0.80
onStatReceivedMethod · 0.80
enqueueFileMethod · 0.80
runMethod · 0.80
addExtraMethod · 0.80
promise.jsFile · 0.80

Calls 3

putRawMethod · 0.95
BlobRefMethod · 0.65
JSONMethod · 0.45

Tested by

no test coverage detected