<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IBase__SourceFile (infer.IBase__SourceFile)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.0"/><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__SourceFile</nav><h1>Module <code>IBase__SourceFile</code></h1></header><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare"><ahref="#val-compare"class="anchor"></a><code><spanclass="keyword">val</span> compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt></dl></div></div></div><dl><dtclass="spec module"id="module-Map"><ahref="#module-Map"class="anchor"></a><code><spanclass="keyword">module</span> Map : <ahref="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Map.S <spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="index.html#module-Map">Map</a>.key = <ahref="index.html#type-t">t</a></code></dt><dd><p>Maps from source_file</p></dd></dl><dl><dtclass="spec module"id="module-Set"><ahref="#module-Set"class="anchor"></a><code><spanclass="keyword">module</span> Set : <ahref="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Set.S <spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="index.html#module-Set">Set</a>.elt = <ahref="index.html#type-t">t</a></code></dt><dd><p>Set of source files</p></dd></dl><divclass="spec module"id="module-Hash"><ahref="#module-Hash"class="anchor"></a><code><spanclass="keyword">module</span> Hash : <ahref="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Hashtbl.S <spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="index.html#module-Hash">Hash</a>.key = <ahref="index.html#type-t">t</a></code></div><dl><dtclass="spec value"id="val-is_invalid"><ahref="#val-is_invalid"class="anchor"></a><code><spanclass="keyword">val</span> is_invalid : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>Is the source file the invalid source file?</p></dd></dl><dl><dtclass="spec value"id="val-changed_sources_from_changed_files"><ahref="#val-changed_sources_from_changed_files"class="anchor"></a><code><spanclass="keyword">val</span> changed_sources_from_changed_files : <span>string list</span><span>-></span><ahref="index.html#module-Set">Set</a>.t</code></dt><dd><p>Set of files read from --changed-files-index file, None if option not specified NOTE: it may include extra source_files if --changed-files-index contains paths to header files</p></dd></dl><dl><dtclass="spec value"id="val-invalid"><ahref="#val-invalid"class="anchor"></a><code><spanclass="keyword">val</span> invalid : string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>Invalid source file</p></dd></dl><dl><dtclass="spec value"id="val-equal"><ahref="#val-equal"class="anchor"></a><code><spanclass="keyword">val</span> equal : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>equality of source files</p></dd></dl><dl><dtclass="spec value"id="val-from_abs_path"><ahref="#val-from_abs_path"class="anchor"></a><code><spanclass="keyword">val</span> from_abs_path : <span>?⁠warn_on_error:bool</span><span>-></span> string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>create source file from absolute path. WARNING: If warn_on_error is false, no warning will be shown whenever an error occurs for the given path (e.g. if it does not exist).</p></dd></dl><dl><dtclass="spec value"