<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>ResultsDir (infer.IBase.ResultsDir)</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>»<ahref="../index.html">IBase</a>» ResultsDir</nav><h1>Module <code>IBase.ResultsDir</code></h1></header><divclass="spec module"id="module-RunState"><ahref="#module-RunState"class="anchor"></a><code><spanclass="keyword">module</span><ahref="RunState/index.html">RunState</a> : <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></div><dl><dtclass="spec value"id="val-get_path"><ahref="#val-get_path"class="anchor"></a><code><spanclass="keyword">val</span> get_path : <ahref="../ResultsDirEntryName/index.html#type-id">ResultsDirEntryName.id</a><span>-></span> string</code></dt><dd><p>Wrapper around <ahref="../ResultsDirEntryName/index.html#val-get_path"><code>ResultsDirEntryName.get_path</code></a> that implicitly applies to the current results directory <ahref="../Config/index.html#val-results_dir"><code>Config.results_dir</code></a>. If you need to specify another results directory use <ahref="../ResultsDirEntryName/index.html"><code>ResultsDirEntryName</code></a> directly.</p></dd></dl><dl><dtclass="spec value"id="val-assert_results_dir"><ahref="#val-assert_results_dir"class="anchor"></a><code><spanclass="keyword">val</span> assert_results_dir : string <span>-></span> unit</code></dt><dd><p>Check that the results dir exists and sets up logging, the database, etc.</p></dd></dl><dl><dtclass="spec value"id="val-remove_results_dir"><ahref="#val-remove_results_dir"class="anchor"></a><code><spanclass="keyword">val</span> remove_results_dir : unit <span>-></span> unit</code></dt><dd><p>Recursively delete the results directory.</p></dd></dl><dl><dtclass="spec value"id="val-create_results_dir"><ahref="#val-create_results_dir"class="anchor"></a><code><spanclass="keyword">val</span> create_results_dir : unit <span>-></span> unit</code></dt><dd><p>Create the results dir and sets up logging, the database, etc.</p></dd></dl><dl><dtclass="spec value"id="val-scrub_for_incremental"><ahref="#val-scrub_for_incremental"class="anchor"></a><code><spanclass="keyword">val</span> scrub_for_incremental : unit <span>-></span> unit</code></dt><dd><p>scrub capture data in preparation of an incremental capture + analysis</p></dd></dl><dl><dtclass="spec value"id="val-scrub_for_caching"><ahref="#val-scrub_for_caching"class="anchor"></a><code><spanclass="keyword">val</span> scrub_for_caching : unit <span>-></span> unit</code></dt><dd><p>Clean up the results dir to keep only what's relevant to go in a cache (e.g., the distributed Buck cache). In particular, get rid of non-deterministic outputs.</p></dd></dl></div></body></html>