MCPcopy
hub / github.com/perkeep/perkeep / camliMode

Function camliMode

pkg/server/ui.go:388–390  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

386}
387
388func camliMode(req *http.Request) string {
389 return req.URL.Query().Get("camli.mode")
390}
391
392func wantsBlobRef(req *http.Request) bool {
393 _, ok := blob.ParseKnown(httputil.PathSuffix(req))

Callers 2

wantsDiscoveryFunction · 0.85
wantsUploadHelperFunction · 0.85

Calls 2

GetMethod · 0.65
QueryMethod · 0.65

Tested by

no test coverage detected