MCPcopy Index your code
hub / github.com/rtfpessoa/diff2html / DiffParserConfig

Interface DiffParserConfig

src/diff-parser.ts:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { escapeForRegExp } from './utils';
3
4export interface DiffParserConfig {
5 srcPrefix?: string;
6 dstPrefix?: string;
7 diffMaxChanges?: number;
8 diffMaxLineLength?: number;
9 diffTooBigMessage?: (fileIndex: number) => string;
10}
11
12function getExtension(filename: string, language: string): string {
13 const filenameParts = filename.split('.');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…