Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 20c814901a
Fetching contributors…

Cannot retrieve contributors at this time

file 120 lines (120 sloc) 8.565 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="OpamAlias.html">
<link rel="next" href="OpamCompiler.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="OpamAlias" rel="Chapter" href="OpamAlias.html">
<link title="OpamClient" rel="Chapter" href="OpamClient.html">
<link title="OpamCompiler" rel="Chapter" href="OpamCompiler.html">
<link title="OpamFile" rel="Chapter" href="OpamFile.html">
<link title="OpamFilename" rel="Chapter" href="OpamFilename.html">
<link title="OpamFormat" rel="Chapter" href="OpamFormat.html">
<link title="OpamFormula" rel="Chapter" href="OpamFormula.html">
<link title="OpamMisc" rel="Chapter" href="OpamMisc.html">
<link title="OpamPackage" rel="Chapter" href="OpamPackage.html">
<link title="OpamParallel" rel="Chapter" href="OpamParallel.html">
<link title="OpamPath" rel="Chapter" href="OpamPath.html">
<link title="OpamProcess" rel="Chapter" href="OpamProcess.html">
<link title="OpamRepository" rel="Chapter" href="OpamRepository.html">
<link title="OpamSolver" rel="Chapter" href="OpamSolver.html">
<link title="OpamSystem" rel="Chapter" href="OpamSystem.html">
<link title="OpamTypes" rel="Chapter" href="OpamTypes.html">
<link title="OpamVariable" rel="Chapter" href="OpamVariable.html">
<link title="OpamVersion" rel="Chapter" href="OpamVersion.html"><title>OpamClient</title>
</head>
<body>
<div class="navbar"><a href="OpamAlias.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="OpamCompiler.html">Next</a>
</div>
<center><h1>Module <a href="type_OpamClient.html">OpamClient</a></h1></center>
<br>
<pre><span class="keyword">module</span> OpamClient: <code class="code">sig</code> <a href="OpamClient.html">..</a> <code class="code">end</code></pre>Client entry-point.<br>
<hr width="100%">
<pre><span id="VALinit"><span class="keyword">val</span> init</span> : <code class="type"><a href="OpamTypes.html#TYPErepository">OpamTypes.repository</a> -> <a href="OpamTypes.html#TYPEcompiler">OpamTypes.compiler</a> option -> int -> unit</code></pre><div class="info">
Initialize the client a consistent state.
    <code class="code">init repo alias oversion cores</code> means:<ul>
<li><code class="code">repo</code> is the initial repository description,</li>
<li><code class="code">oversion</code> is the version of the compiler. <code class="code">None</code> means we
      are using the system-wide installed compiler.</li>
<li><code class="code">cores</code> is the number of cores</li>
</ul>
<br>
</div>
<pre><span id="VALlist"><span class="keyword">val</span> list</span> : <code class="type">print_short:bool -><br> installed_only:bool -><br> ?name_only:bool -> ?case_sensitive:bool -> string list -> unit</code></pre><div class="info">
Display all available packages that matches any of the regexps.<br>
</div>
<pre><span id="VALinfo"><span class="keyword">val</span> info</span> : <code class="type"><a href="OpamTypes.html#TYPEname">OpamTypes.name</a> -> unit</code></pre><div class="info">
Display a general summary of a package.<br>
</div>
<pre><span id="VALconfig"><span class="keyword">val</span> config</span> : <code class="type"><a href="OpamTypes.html#TYPEconfig">OpamTypes.config</a> -> unit</code></pre><div class="info">
Depending on request, return options or directories where the
    package is installed.<br>
</div>
<pre><span id="VALinstall"><span class="keyword">val</span> install</span> : <code class="type"><a href="OpamTypes.html#TYPEname_set">OpamTypes.name_set</a> -> unit</code></pre><div class="info">
Install the given set of packages. Take the global file lock.<br>
</div>
<pre><span id="VALreinstall"><span class="keyword">val</span> reinstall</span> : <code class="type">OpamPackage.Name.Set.t -> unit</code></pre><div class="info">
Reinstall the given set of packages. Take the global file lock.<br>
</div>
<pre><span id="VALupdate"><span class="keyword">val</span> update</span> : <code class="type">string list -> unit</code></pre><div class="info">
Refresh the available packages. Take the global file lock.<br>
</div>
<pre><span id="VALupgrade"><span class="keyword">val</span> upgrade</span> : <code class="type">OpamPackage.Name.Set.t -> unit</code></pre><div class="info">
Find a consistent state where most of the installed packages are
    upgraded to their latest version.
    If no package packages are specified then try to upgrade everything.
    Take the global file lock.<br>
</div>
<pre><span id="VALupload"><span class="keyword">val</span> upload</span> : <code class="type"><a href="OpamTypes.html#TYPEupload">OpamTypes.upload</a> -> string option -> unit</code></pre><div class="info">
Upload a package to a remote repository. If repo is <code class="code">None</code> then it
    will look for the repository associated with the package
    name. Otherwise, it will look for a repository having the right
    name. Take the global file lock.<br>
</div>
<pre><span id="VALremove"><span class="keyword">val</span> remove</span> : <code class="type">OpamPackage.Name.Set.t -> unit</code></pre><div class="info">
Remove the given set of packages. Take the global file lock.<br>
</div>
<pre><span id="VALremote"><span class="keyword">val</span> remote</span> : <code class="type"><a href="OpamTypes.html#TYPEremote">OpamTypes.remote</a> -> unit</code></pre><div class="info">
Manage remote repositories. Take the global file lock.<br>
</div>
<pre><span id="VALcompiler_install"><span class="keyword">val</span> compiler_install</span> : <code class="type">bool -> <a href="OpamTypes.html#TYPEalias">OpamTypes.alias</a> -> <a href="OpamTypes.html#TYPEcompiler">OpamTypes.compiler</a> -> unit</code></pre><div class="info">
Install the given compiler. Take the global file lock.<br>
</div>
<pre><span id="VALcompiler_import"><span class="keyword">val</span> compiler_import</span> : <code class="type"><a href="OpamTypes.html#TYPEfilename">OpamTypes.filename</a> -> unit</code></pre><div class="info">
Import the packages from a file. Take the global file lock.<br>
</div>
<pre><span id="VALcompiler_export"><span class="keyword">val</span> compiler_export</span> : <code class="type"><a href="OpamTypes.html#TYPEfilename">OpamTypes.filename</a> -> unit</code></pre><div class="info">
Export the packages to a file. Take the global file lock.<br>
</div>
<pre><span id="VALcompiler_remove"><span class="keyword">val</span> compiler_remove</span> : <code class="type"><a href="OpamTypes.html#TYPEalias">OpamTypes.alias</a> -> unit</code></pre><div class="info">
Remove the given compiler. Take the global file lock.<br>
</div>
<pre><span id="VALcompiler_switch"><span class="keyword">val</span> compiler_switch</span> : <code class="type">bool -> <a href="OpamTypes.html#TYPEalias">OpamTypes.alias</a> -> unit</code></pre><div class="info">
Switch to the given compiler. Take the global file lock.<br>
</div>
<pre><span id="VALcompiler_reinstall"><span class="keyword">val</span> compiler_reinstall</span> : <code class="type"><a href="OpamTypes.html#TYPEalias">OpamTypes.alias</a> -> unit</code></pre><div class="info">
Reinstall the given compiler. Take the global file lock.<br>
</div>
<pre><span id="VALcompiler_list"><span class="keyword">val</span> compiler_list</span> : <code class="type">unit -> unit</code></pre><div class="info">
List the available compiler descriptions<br>
</div>
<pre><span id="VALcompiler_current"><span class="keyword">val</span> compiler_current</span> : <code class="type">unit -> unit</code></pre><div class="info">
Display the name of the current compiler<br>
</div>
<pre><span id="VALpin"><span class="keyword">val</span> pin</span> : <code class="type"><a href="OpamTypes.html#TYPEpin">OpamTypes.pin</a> -> unit</code></pre><div class="info">
Pin a package to a specific version. Take the global file lock.<br>
</div>
<pre><span id="VALpin_list"><span class="keyword">val</span> pin_list</span> : <code class="type">unit -> unit</code></pre><div class="info">
List the current pinned packages<br>
</div>
</body></html>
Something went wrong with that request. Please try again.