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

Method extractProjectFilePath

src/services/TaskService.ts:1971–1975  ·  view source on GitHub ↗
(project: string)

Source from the content-addressed store, hash-verified

1969 }
1970
1971 private extractProjectFilePath(project: string): string {
1972 const linkPath = parseLinkToPath(project);
1973 const resolved = this.plugin.app.metadataCache.getFirstLinkpathDest?.(linkPath, "");
1974 return (resolved?.path ?? linkPath).replace(/\.md$/i, "");
1975 }
1976}

Callers 1

processFolderTemplateMethod · 0.95

Calls 1

parseLinkToPathFunction · 0.90

Tested by

no test coverage detected