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

Method currentVault

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

Source from the content-addressed store, hash-verified

65}
66
67func (s *Server) currentVault() *vault.Vault {
68 s.mu.RLock()
69 defer s.mu.RUnlock()
70 return s.Vault
71}
72
73func (s *Server) currentWatcher() *watcher.Watcher {
74 s.mu.RLock()

Callers 15

vaultInfoMethod · 0.95
vaultSettingsMethod · 0.95
setVaultSettingsMethod · 0.95
listNotesMethod · 0.95
listFoldersMethod · 0.95
listAssetsMethod · 0.95
assetsExistsMethod · 0.95
readNoteMethod · 0.95
readCommentsMethod · 0.95
writeCommentsMethod · 0.95
writeNoteMethod · 0.95
createNoteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected