Skip to main content

Module userdiff

Module userdiff 

Source
Expand description

User-defined and built-in diff function-name matching.

This module implements the subset of Git’s userdiff behavior needed for hunk-header function context extraction.

Structs§

FuncnameMatcher
Compiled function-name matcher used for diff hunk headers.

Functions§

matcher_for_driver
Resolve a function-name matcher for a named diff driver.
matcher_for_path
Resolve a function-name matcher for rel_path from attributes + config.