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

Function getProjectFilePath

src/utils/folderTemplateProcessor.ts:157–165  ·  view source on GitHub ↗
(
	project: string,
	extractProjectFilePath?: (project: string) => string
)

Source from the content-addressed store, hash-verified

155}
156
157function getProjectFilePath(
158 project: string,
159 extractProjectFilePath?: (project: string) => string
160): string {
161 const rawPath = extractProjectFilePath
162 ? extractProjectFilePath(project)
163 : parseProjectFilePath(project);
164 return sanitizeProjectFilePath(rawPath);
165}
166
167/**
168 * Process a folder path template by replacing template variables with actual values

Callers 1

processFolderTemplateFunction · 0.85

Calls 2

parseProjectFilePathFunction · 0.85
sanitizeProjectFilePathFunction · 0.85

Tested by

no test coverage detected