MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / has

Method has

apps/client/src/code/pages/page-cache.ts:26–28  ·  view source on GitHub ↗
(pageId: string)

Source from the content-addressed store, hash-verified

24 return this.react.cache.find((page) => page.id === pageId) ?? null;
25 }
26 has(pageId: string): boolean {
27 return this.get(pageId) != null;
28 }
29
30 add(page: Page): void {
31 this.react.cache.push(page);

Callers 9

hasFunction · 0.45
_getPathPageIdsFunction · 0.45
_updateLastParentIdFunction · 0.45
fetchFunction · 0.45
hasFunction · 0.45
setupPageMethod · 0.45
_subscribeMethod · 0.45
unsubscribeMethod · 0.45
_handleSubscribeMethod · 0.45

Calls 1

getMethod · 0.95

Tested by

no test coverage detected