@pierre/diffs
Version:
11 lines • 479 B
TypeScript
//#region src/utils/trimPatchContext.d.ts
/**
* A utility function to trim out excess context lines from a patch file. It
* will maintain line numbers, and properly update the hunk context markers, as
* well as be able to create new hunks where necessary if there's excessive
* context between changes
*/
declare function trimPatchContext(patch: string, contextSize?: number): string;
//#endregion
export { trimPatchContext };
//# sourceMappingURL=trimPatchContext.d.ts.map