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

Function buildFileDisplayLabels

src/utils/fileSyntax.ts:335–340  ·  view source on GitHub ↗
(
	files: TFile[],
	metadataCache?: (file: TFile) => CachedMetadata | null,
)

Source from the content-addressed store, hash-verified

333 * distinguishable in plain-text suggesters.
334 */
335export function buildFileDisplayLabels(
336 files: TFile[],
337 metadataCache?: (file: TFile) => CachedMetadata | null,
338): string[] {
339 return buildFileDisplayInfos(files, metadataCache).map((info) => info.label);
340}

Callers 6

fileSyntax.test.tsFile · 0.90
suggestForFileMethod · 0.90
selectFileInFolderMethod · 0.90
selectFileFromSetMethod · 0.90
recordFileRequirementMethod · 0.90
collectForCaptureChoiceFunction · 0.90

Calls 1

buildFileDisplayInfosFunction · 0.85

Tested by

no test coverage detected