MCPcopy Index your code
hub / github.com/ZenNotes/zennotes / platform

Method platform

apps/server/internal/httpserver/server.go:309–311  ·  view source on GitHub ↗
(w http.ResponseWriter, _ *http.Request)

Source from the content-addressed store, hash-verified

307}
308
309func (s *Server) platform(w http.ResponseWriter, _ *http.Request) {
310 writeJSON(w, http.StatusOK, map[string]string{"platform": platformName()})
311}
312
313func (s *Server) vaultInfo(w http.ResponseWriter, _ *http.Request) {
314 writeJSON(w, http.StatusOK, s.currentVault().Info())

Callers

nothing calls this directly

Calls 2

writeJSONFunction · 0.85
platformNameFunction · 0.85

Tested by

no test coverage detected