You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
6.2 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferBase__DB (InferBase.InferBase__DB)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../index.html">InferBase</a> &#x00BB; InferBase__DB</nav><h1>Module <code>InferBase__DB</code></h1><p>Database of analysis results</p><nav class="toc"><ul><li><a href="#filename">Filename</a></li><li><a href="#results-directory">Results Directory</a></li><li><a href="#source-dirs">Source Dirs</a></li></ul></nav></header><section><header><h3 id="filename"><a href="#filename" class="anchor"></a>Filename</h3></header><dl><dt class="spec type" id="type-filename"><a href="#type-filename" class="anchor"></a><code><span class="keyword">type</span> filename</code></dt><dd><p>generic file name</p></dd></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare_filename"><a href="#val-compare_filename" class="anchor"></a><code><span class="keyword">val</span> compare_filename : <a href="index.html#type-filename">filename</a> <span>&#45;&gt;</span> <a href="index.html#type-filename">filename</a> <span>&#45;&gt;</span> int</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-filename_from_string"><a href="#val-filename_from_string" class="anchor"></a><code><span class="keyword">val</span> filename_from_string : string <span>&#45;&gt;</span> <a href="index.html#type-filename">filename</a></code></dt><dt class="spec value" id="val-filename_to_string"><a href="#val-filename_to_string" class="anchor"></a><code><span class="keyword">val</span> filename_to_string : <a href="index.html#type-filename">filename</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-filename_add_suffix"><a href="#val-filename_add_suffix" class="anchor"></a><code><span class="keyword">val</span> filename_add_suffix : <a href="index.html#type-filename">filename</a> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <a href="index.html#type-filename">filename</a></code></dt><dt class="spec value" id="val-file_exists"><a href="#val-file_exists" class="anchor"></a><code><span class="keyword">val</span> file_exists : <a href="index.html#type-filename">filename</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-file_modified_time"><a href="#val-file_modified_time" class="anchor"></a><code><span class="keyword">val</span> file_modified_time : <span>?&#8288;symlink:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-filename">filename</a> <span>&#45;&gt;</span> float</code></dt><dd><p>Return the time when a file was last modified. The file must exist.</p></dd></dl></section><section><header><h3 id="results-directory"><a href="#results-directory" class="anchor"></a>Results Directory</h3></header><div class="spec module" id="module-Results_dir"><a href="#module-Results_dir" class="anchor"></a><code><span class="keyword">module</span> <a href="Results_dir/index.html">Results_dir</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec value" id="val-append_crc_cutoff"><a href="#val-append_crc_cutoff" class="anchor"></a><code><span class="keyword">val</span> append_crc_cutoff : <span>?&#8288;key:string</span> <span>&#45;&gt;</span> <span>?&#8288;crc_only:bool</span> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> string</code></dt><dd><p>Append a crc to the string, using string_crc_hex32. Cut the string if it exceeds the cutoff limit. Use an optional key to compute the crc. Return only the crc if <code>crc_only</code> is true.</p></dd></dl><dl><dt class="spec value" id="val-source_file_encoding"><a href="#val-source_file_encoding" class="anchor"></a><code><span class="keyword">val</span> source_file_encoding : <a href="../InferBase/SourceFile/