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

Method vaultInfo

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

Source from the content-addressed store, hash-verified

311}
312
313func (s *Server) vaultInfo(w http.ResponseWriter, _ *http.Request) {
314 writeJSON(w, http.StatusOK, s.currentVault().Info())
315}
316
317func (s *Server) vaultSettings(w http.ResponseWriter, _ *http.Request) {
318 settings, err := s.currentVault().GetSettings()

Callers

nothing calls this directly

Calls 3

currentVaultMethod · 0.95
writeJSONFunction · 0.85
InfoMethod · 0.80

Tested by

no test coverage detected