Expand description
Diff command - AST-aware structural diff
Compares two source files at the AST level, detecting:
- Insert: new function/class/method
- Delete: removed function/class/method
- Update: modified body
- Move: same content, different location
- Rename: same body, different name
§Example
tldr diff old.py new.py
tldr diff old.py new.py --semantic-only
tldr diff old.py new.py --format textStructs§
- Diff
Args - AST-aware structural diff between two files
Functions§
- run_
class_ diff - Run a class-level diff between two files.