MCPcopy Index your code
hub / github.com/perkeep/perkeep / wantsPermanode

Function wantsPermanode

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

Source from the content-addressed store, hash-verified

405}
406
407func wantsPermanode(req *http.Request) bool {
408 return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("p"))
409}
410
411func wantsBlobInfo(req *http.Request) bool {
412 return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("b"))

Callers 1

ServeHTTPMethod · 0.85

Calls 2

IsGetFunction · 0.92
ValidRefStringFunction · 0.92

Tested by

no test coverage detected