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

Method currentConfig

apps/server/internal/httpserver/server.go:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (s *Server) currentConfig() config.Config {
80 s.mu.RLock()
81 defer s.mu.RUnlock()
82 return s.Config
83}
84
85func (s *Server) switchVaultRoot(nextPath string) (*vault.Vault, error) {
86 cfg := s.currentConfig()

Callers 15

switchVaultRootMethod · 0.95
RouterMethod · 0.95
requireAuthMethod · 0.95
capabilitiesMethod · 0.95
writeNoteMethod · 0.95
uploadAssetMethod · 0.95
serveStaticMethod · 0.95
serveIndexHTMLMethod · 0.95
effectiveBrowseRootsMethod · 0.95
peerIsTrustedProxyMethod · 0.95
effectiveSchemeMethod · 0.95
isAllowedOriginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected