Skip to main content

Crate udiffx

Crate udiffx 

Source

Structs§

ApplyChangesStatus
CodeFence
Content
DirectiveStatus
FileChanges
HunkError
PathAndCause

Enums§

DirectiveKind
Error
FileDirective
MatchTier

Functions§

apply_file_changes
Executes the file changes defined in AipFileChanges relative to base_dir.
extract_file_changes
Extracts the first FILE_CHANGES block from the input string.
has_actionable_hunks
Returns true if the raw patch text contains at least one actionable hunk (i.e., a hunk with at least one + or - line).
load_files_context
Gathers file contents based on globs relative to a base_dir and formats them into a <FILE_CONTENT path="...">content</FILE_CONTENT> block.
split_raw_hunks
Splits a raw simplified patch (numberless @@ hunks) into individual hunk strings.

Type Aliases§

Result