git library

Git operations, unified diff parsing, and AST line mapping utilities.

Classes

AstLineMapper
Utilities for mapping modified line ranges from git diffs to AST declarations.
DiffHunk
A parsed hunk within a unified diff.
GitDiffParser
Parser for unified diff strings produced by git diff or diff -u.
GitDiffService
A service wrapping Git commands for repository evaluation and diffing.
GitFileDiff
Represents the diff for a single file within a unified diff.
LineRange
Represents a 1-based inclusive range of lines [startLine, endLine].
MappedDeclaration
Represents an AST declaration mapped to diff line ranges.