MCPcopy Create free account
hub / github.com/chhoumann/quickadd / formatFilePath

Method formatFilePath

src/engine/CaptureChoiceEngine.ts:1512–1519  ·  view source on GitHub ↗
(captureTo: string)

Source from the content-addressed store, hash-verified

1510 }
1511
1512 private async formatFilePath(captureTo: string) {
1513 const formattedCaptureTo: string = await this.formatter.formatFileName(
1514 captureTo,
1515 this.choice.name,
1516 );
1517
1518 return this.normalizeCaptureFilePath(formattedCaptureTo);
1519 }
1520
1521 private normalizeCaptureFilePath(path: string): string {
1522 const normalizedPath = normalizeGeneratedFilePath(

Callers 3

selectFileInFolderMethod · 0.95
selectFileFromSetMethod · 0.95

Calls 2

formatFileNameMethod · 0.45

Tested by

no test coverage detected