MCPcopy Index your code
hub / github.com/Acode-Foundation/Acode / LanguageDescription

Interface LanguageDescription

src/cm/supportedModes.ts:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5type FilenameMatcher = string | RegExp;
6
7interface LanguageDescription {
8 name?: string;
9 alias?: readonly string[];
10 extensions?: readonly string[];
11 filenames?: readonly FilenameMatcher[];
12 filename?: FilenameMatcher;
13 load?: () => Promise<Extension>;
14}
15
16function normalizeModeKey(value: string): string {
17 return String(value ?? "")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected