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

Method importShare

pkg/server/ui.go:539–545  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

537}
538
539func (ui *UIHandler) importShare(w http.ResponseWriter, r *http.Request) {
540 if ui.shareImporter == nil {
541 http.Error(w, "No ShareImporter capacity", 500)
542 return
543 }
544 ui.shareImporter.ServeHTTP(w, r)
545}
546
547func (ui *UIHandler) serveThumbnail(rw http.ResponseWriter, req *http.Request) {
548 if ui.root.Storage == nil {

Callers 2

ServeHTTPMethod · 0.95
index.jsFile · 0.80

Calls 2

ErrorMethod · 0.45
ServeHTTPMethod · 0.45

Tested by

no test coverage detected