<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IBase__FileDiff (infer.IBase__FileDiff)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» IBase__FileDiff</nav><h1>Module <code>IBase__FileDiff</code></h1></header><divclass="spec module"id="module-UnixDiff"><ahref="#module-UnixDiff"class="anchor"></a><code><spanclass="keyword">module</span><ahref="UnixDiff/index.html">UnixDiff</a> : <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></div><divclass="spec module"id="module-VISIBLE_FOR_TESTING_DO_NOT_USE_DIRECTLY"><ahref="#module-VISIBLE_FOR_TESTING_DO_NOT_USE_DIRECTLY"class="anchor"></a><code><spanclass="keyword">module</span><ahref="VISIBLE_FOR_TESTING_DO_NOT_USE_DIRECTLY/index.html">VISIBLE_FOR_TESTING_DO_NOT_USE_DIRECTLY</a> : <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></div><dl><dtclass="spec value"id="val-parse_unix_diff"><ahref="#val-parse_unix_diff"class="anchor"></a><code><spanclass="keyword">val</span> parse_unix_diff : string <span>-></span><span>int list</span></code></dt><dd><p>Given a difference between two files, return the relevant lines in the new file; a line is relevant when a change took place in it, or nearby. To generate a valid input for this parser, use unix-diff command with the following formatter arguments: diff --unchanged-line-format="U" \--old-line-format="O" --new-line-format="N" File1 File2</p></dd></dl></div></body></html>