MCPcopy Create free account
hub / github.com/driangle/taskmd / isTaskFile

Function isTaskFile

apps/vscode/src/extension.ts:60–63  ·  view source on GitHub ↗
(doc: vscode.TextDocument)

Source from the content-addressed store, hash-verified

58}
59
60function isTaskFile(doc: vscode.TextDocument): boolean {
61 if (doc.languageId !== "markdown") return false;
62 return isUnderTaskDir(doc.uri.fsPath);
63}
64
65function validateDocument(doc: vscode.TextDocument): void {
66 if (!isTaskFile(doc)) {

Callers 1

validateDocumentFunction · 0.85

Calls 1

isUnderTaskDirFunction · 0.90

Tested by

no test coverage detected