MCPcopy Index your code
hub / github.com/apache/answer / OpenSearch

Method OpenSearch

internal/controller/template_controller.go:617–623  ·  view source on GitHub ↗
(ctx *gin.Context)

Source from the content-addressed store, hash-verified

615}
616
617func (tc *TemplateController) OpenSearch(ctx *gin.Context) {
618 if tc.checkPrivateMode(ctx) {
619 tc.Page404(ctx)
620 return
621 }
622 tc.templateRenderController.OpenSearch(ctx)
623}
624
625func (tc *TemplateController) Sitemap(ctx *gin.Context) {
626 if tc.checkPrivateMode(ctx) {

Callers

nothing calls this directly

Calls 2

checkPrivateModeMethod · 0.95
Page404Method · 0.95

Tested by

no test coverage detected