MCPcopy
hub / github.com/callumalpass/tasknotes / exists

Method exists

tests/__mocks__/obsidian.ts:113–116  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

111 }
112
113 exists(path: string): boolean {
114 const normalizedPath = this.normalizePath(path);
115 return this.files.has(normalizedPath) || this.folders.has(normalizedPath);
116 }
117
118 read(path: string): string {
119 const normalizedPath = this.normalizePath(path);

Callers 15

createNewFileMethod · 0.80
ensureFolderExistsFunction · 0.80
pluginDataFileExistsFunction · 0.80
renderGeneralTabFunction · 0.80
generateMethod · 0.80
getTypesFolderMethod · 0.80
ensureFolderPathMethod · 0.80
writeFileMethod · 0.80
performExportMethod · 0.80
ensureStarterNoteFunction · 0.80
ensureFolderHierarchyFunction · 0.80

Calls 2

normalizePathMethod · 0.95
hasMethod · 0.80

Tested by

no test coverage detected