UNPKG

git-tweezers

Version:

Advanced git staging tool with hunk and line-level control

14 lines (13 loc) 349 B
export interface LineRange { start: number; end: number; } /** * Parse a line range string into an array of ranges * Examples: "10", "10-15", "10-15,20,25-30" */ export declare function parseLineRanges(rangeStr: string): LineRange[]; /** * Format ranges for display */ export declare function formatRanges(ranges: LineRange[]): string;