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

Method isValidFile

src/utils/TaskManager.ts:252–254  ·  view source on GitHub ↗

* Check if a file path is valid for inclusion

(path: string)

Source from the content-addressed store, hash-verified

250 * Check if a file path is valid for inclusion
251 */
252 isValidFile(path: string): boolean {
253 return !isPathInExcludedFolder(path, this.excludedFolders);
254 }
255
256 /**
257 * Get task info for a specific file path (just-in-time)

Callers 10

getTaskInfoMethod · 0.95
ensureFilterIndexesMethod · 0.95
getAllTasksMethod · 0.95
getNotesForDateMethod · 0.95
getCachedTaskInfoSyncMethod · 0.95
updateTaskInfoInCacheMethod · 0.95

Calls 1

isPathInExcludedFolderFunction · 0.90

Tested by

no test coverage detected