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

Method isTaskFile

src/utils/TaskManager.ts:109–111  ·  view source on GitHub ↗

* Check if a file is a task based on current settings

(frontmatter: unknown)

Source from the content-addressed store, hash-verified

107 * Check if a file is a task based on current settings
108 */
109 isTaskFile(frontmatter: unknown): boolean {
110 return isTaskFrontmatter(frontmatter, this.settings);
111 }
112
113 /**
114 * Setup listeners for Obsidian's native metadata cache events

Callers 13

handleFileChangedMethod · 0.95
getTaskInfoMethod · 0.95
ensureFilterIndexesMethod · 0.95
getNotesForDateMethod · 0.95
getCachedTaskInfoSyncMethod · 0.95
refreshTaskDataMethod · 0.80
buildProjectIndexMethod · 0.80
injectWidgetMethod · 0.80
injectReadingModeWidgetFunction · 0.80

Calls 1

isTaskFrontmatterFunction · 0.90

Tested by

no test coverage detected