MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / extractProjectName

Method extractProjectName

src/views/StatsView.ts:609–613  ·  view source on GitHub ↗

* Extract clean project name from various formats

(projectValue: string)

Source from the content-addressed store, hash-verified

607 * Extract clean project name from various formats
608 */
609 private extractProjectName(projectValue: string): string | null {
610 if (!projectValue) return null;
611 const displayName = getProjectDisplayName(projectValue, this.plugin?.app);
612 return displayName || null;
613 }
614
615 private isArchivedProjectReference(projectValue: string): boolean {
616 return this.getProjectReferenceTask(projectValue)?.archived === true;

Callers 1

Calls 1

getProjectDisplayNameFunction · 0.90

Tested by

no test coverage detected