You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`diff_u`|**f**ile**n**ame**1**<br/>**f**ile**n**ame**2**| Prints differences between the two files in to stdout. |
73
+
|`cmp`| x</br>y|**C**o**mp**ares line `x` in the old file with line `y` in the new file |
74
+
|`get`| filename<br>packedIdx<br>idx | Open seek and read line `idx` of `filename`|
75
+
|`pfl`| marker<br>line|**F**ormats a single diff **l**ine by **p**refixing `marker` and stripping newlines|
76
+
|`init`||Begins a new hunk: collects up to `DIFF_CONTEXT`lines of unchanged context before the first change in a hunk. |
77
+
|`flush`||Emits the current hunk buffer to stdout once either enough changes have accumulated or the hunk is closed. Prepends the unified-diff hunk header.|
78
+
|`nlc`||After finishing a file, checks if the last line lacked a newline and, if so, inserts a `\ No newline at end of file` marker into the current hunk.|
0 commit comments