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

Method Sitemap

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

Source from the content-addressed store, hash-verified

623}
624
625func (tc *TemplateController) Sitemap(ctx *gin.Context) {
626 if tc.checkPrivateMode(ctx) {
627 tc.Page404(ctx)
628 return
629 }
630 tc.templateRenderController.Sitemap(ctx)
631}
632
633func (tc *TemplateController) SitemapPage(ctx *gin.Context) {
634 if tc.checkPrivateMode(ctx) {

Callers

nothing calls this directly

Calls 2

checkPrivateModeMethod · 0.95
Page404Method · 0.95

Tested by

no test coverage detected