MCPcopy Index your code
hub / github.com/writefreely/writefreely / isArchiveView

Function isArchiveView

collections.go:1007–1009  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

1005}
1006
1007func isArchiveView(r *http.Request) bool {
1008 return strings.HasSuffix(r.RequestURI, "/archive/") || mux.Vars(r)["archive"] == "archive"
1009}
1010
1011func handleViewMention(app *App, w http.ResponseWriter, r *http.Request) error {
1012 vars := mux.Vars(r)

Callers 1

handleViewCollectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected