Module diff

Module diff 

Source
Expand description

Diff preview controls for file operations

Constantsยง

CONTEXT_RADIUS
Number of context lines to include around changes in unified diff output
HEAD_LINE_COUNT
Number of leading diff lines to retain when condensing previews
MAX_PREVIEW_BYTES
Maximum number of bytes allowed in diff preview inputs
MAX_PREVIEW_LINES
Maximum number of diff lines to keep in preview output before condensation
TAIL_LINE_COUNT
Number of trailing diff lines to retain when condensing previews