UNPKG

pr-sizewise

Version:

A CLI tool that measures and reports pull request sizes for GitHub and GitLab, helping teams maintain manageable code changes.

14 lines 446 B
/** * Parses a git diff string and counts the number of lines added and removed. * Ignores diff metadata lines (like @@ and +++ lines). */ export declare function parseDiff(diff: string): { additions: number; deletions: number; }; /** * Converts a glob pattern to a RegExp object. * Handles common glob patterns like * and ?. */ export declare function globToRegex(pattern: string): RegExp; //# sourceMappingURL=diff-parser.d.ts.map