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
3.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferBase__Multilinks (InferBase.InferBase__Multilinks)</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__Multilinks</nav><h1>Module <code>InferBase__Multilinks</code></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><code><span class="keyword">module</span> F = Stdlib.Format</code></div><div class="spec module" id="module-L"><a href="#module-L" class="anchor"></a><code><span class="keyword">module</span> L = <a href="../InferBase/index.html#module-Logging">InferBase.Logging</a></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt><dd><p>In-memory representation of multilink files.</p></dd></dl><dl><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val</span> add : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> unit</code></dt><dd><p>Add a link.</p></dd></dl><dl><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val</span> create : unit <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>Create a new multilink.</p></dd></dl><dl><dt class="spec value" id="val-multilink_file_name"><a href="#val-multilink_file_name" class="anchor"></a><code><span class="keyword">val</span> multilink_file_name : string</code></dt><dd><p>Name of the multilink file. A multilink file is recognized by its file name.</p></dd></dl><dl><dt class="spec value" id="val-read"><a href="#val-read" class="anchor"></a><code><span class="keyword">val</span> read : <span>dir:string</span> <span>&#45;&gt;</span> <span><a href="index.html#type-t">t</a> option</span></code></dt><dd><p>Read a multilink file from disk.</p></dd></dl><dl><dt class="spec value" id="val-resolve"><a href="#val-resolve" class="anchor"></a><code><span class="keyword">val</span> resolve : <a href="../InferBase/DB/index.html#type-filename">InferBase.DB.filename</a> <span>&#45;&gt;</span> <a href="../InferBase/DB/index.html#type-filename">InferBase.DB.filename</a></code></dt><dd><p>Resolve a filename following multilinks. The cache is updated if a new multilinks file is read.</p></dd></dl><dl><dt class="spec value" id="val-reset_cache"><a href="#val-reset_cache" class="anchor"></a><code><span class="keyword">val</span> reset_cache : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>Reset the cache of multilink files</p></dd></dl><dl><dt class="spec value" id="val-write"><a href="#val-write" class="anchor"></a><code><span class="keyword">val</span> write : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>dir:string</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Write a multilink file in the given directory</p></dd></dl></div></body></html>