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

Function stripMarkdownExtension

src/utils/folderTemplateProcessor.ts:109–111  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

107}
108
109function stripMarkdownExtension(path: string): string {
110 return path.replace(/\.md$/i, "");
111}
112
113function parseProjectFilePath(project: string): string {
114 const trimmed = project.trim();

Callers 2

parseProjectFilePathFunction · 0.85
sanitizeProjectFilePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected