Add example

This commit is contained in:
Andras Schmelczer 2026-03-11 21:04:55 +00:00
parent 5a14b0653e
commit ca87046614
4 changed files with 90 additions and 1 deletions

View file

@ -86,3 +86,7 @@ assert reconstructed == changed
```
Diff entries are positive integers (retain N characters), negative integers (delete N characters), and strings (insert text).
## File Merging Example
For a complete file-merging CLI (a trivial `git merge-file`), see [`examples/merge_file.py`](../examples/merge_file.py).