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

Method assetsExists

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

Source from the content-addressed store, hash-verified

520}
521
522func (s *Server) assetsExists(w http.ResponseWriter, _ *http.Request) {
523 writeJSON(w, http.StatusOK, map[string]bool{"exists": s.currentVault().HasAssetsDir()})
524}
525
526// --- Notes ---
527

Callers

nothing calls this directly

Calls 3

currentVaultMethod · 0.95
writeJSONFunction · 0.85
HasAssetsDirMethod · 0.80

Tested by

no test coverage detected