MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / isProjectNoteReference

Method isProjectNoteReference

src/views/StatsView.ts:655–663  ·  view source on GitHub ↗
(projectValue: string)

Source from the content-addressed store, hash-verified

653 }
654
655 private isProjectNoteReference(projectValue: string): boolean {
656 return (
657 (projectValue.startsWith("[[") && projectValue.endsWith("]]")) ||
658 /^\[[^\]]*\]\(.+\)$/.test(projectValue) ||
659 (projectValue.startsWith("<") && projectValue.endsWith(">")) ||
660 projectValue.includes("/") ||
661 /\.md$/i.test(projectValue)
662 );
663 }
664
665 private calculateOverallStats(tasks: TaskInfo[]): OverallStats {
666 let totalTimeSpent = 0;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected