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

Method delete

apps/server/internal/httpserver/security.go:125–133  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

123}
124
125func (s *sessionStore) delete(token string) {
126 if strings.TrimSpace(token) == "" {
127 return
128 }
129 s.mu.Lock()
130 delete(s.sessions, token)
131 s.persistLocked()
132 s.mu.Unlock()
133}
134
135func (s *sessionStore) deleteAll() {
136 s.mu.Lock()

Callers 15

scheduleDatabaseWriteFunction · 0.80
readNoteContentFunction · 0.80
store.tsFile · 0.80
TasksKanbanFunction · 0.80
runFunction · 0.80
toggleRowFunction · 0.80
SidebarFunction · 0.80
subscribeConfirmRequestsFunction · 0.80
rememberTabScrollFunction · 0.80
forgetTabScrollFunction · 0.80
getCachedMarkdownFunction · 0.80
cacheRenderedMarkdownFunction · 0.80

Calls 1

persistLockedMethod · 0.95

Tested by 2

setupFunction · 0.64