forked from ocaml/opam
/
OpamClient.API.SWITCH.html
84 lines (84 loc) · 5.47 KB
/
OpamClient.API.SWITCH.html
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
<!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="OpamClient.API.REPOSITORY.html">
<link rel="next" href="OpamClient.API.PIN.html">
<link rel="Up" href="OpamClient.API.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="OpamAction" rel="Chapter" href="OpamAction.html">
<link title="OpamClient" rel="Chapter" href="OpamClient.html">
<link title="OpamConfigCommand" rel="Chapter" href="OpamConfigCommand.html">
<link title="OpamPinCommand" rel="Chapter" href="OpamPinCommand.html">
<link title="OpamRepositoryCommand" rel="Chapter" href="OpamRepositoryCommand.html">
<link title="OpamSolution" rel="Chapter" href="OpamSolution.html">
<link title="OpamState" rel="Chapter" href="OpamState.html">
<link title="OpamSwitchCommand" rel="Chapter" href="OpamSwitchCommand.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="OpamRepositoryName" rel="Chapter" href="OpamRepositoryName.html">
<link title="OpamSwitch" rel="Chapter" href="OpamSwitch.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">
<link title="OpamDarcs" rel="Chapter" href="OpamDarcs.html">
<link title="OpamGit" rel="Chapter" href="OpamGit.html">
<link title="OpamHTTP" rel="Chapter" href="OpamHTTP.html">
<link title="OpamLocal" rel="Chapter" href="OpamLocal.html">
<link title="OpamCudf" rel="Chapter" href="OpamCudf.html">
<link title="OpamHeuristic" rel="Chapter" href="OpamHeuristic.html">
<link title="OpamSolver" rel="Chapter" href="OpamSolver.html"><title>OpamClient.API.SWITCH</title>
</head>
<body>
<div class="navbar"><a class="pre" href="OpamClient.API.REPOSITORY.html" title="OpamClient.API.REPOSITORY">Previous</a>
<a class="up" href="OpamClient.API.html" title="OpamClient.API">Up</a>
<a class="post" href="OpamClient.API.PIN.html" title="OpamClient.API.PIN">Next</a>
</div>
<h1>Module <a href="type_OpamClient.API.SWITCH.html">OpamClient.API.SWITCH</a></h1>
<pre><span class="keyword">module</span> SWITCH: <code class="code">sig</code> <a href="OpamClient.API.SWITCH.html">..</a> <code class="code">end</code></pre><div class="info">
Switch API<br>
</div>
<hr width="100%">
<pre><span id="VALswitch"><span class="keyword">val</span> switch</span> : <code class="type">quiet:bool -> warning:bool -> <a href="OpamTypes.html#TYPEswitch">OpamTypes.switch</a> -> unit</code></pre><div class="info">
Switch to the given compiler. Take the global file lock.<br>
</div>
<pre><span id="VALinstall"><span class="keyword">val</span> install</span> : <code class="type">quiet:bool -> warning:bool -> <a href="OpamTypes.html#TYPEswitch">OpamTypes.switch</a> -> <a href="OpamTypes.html#TYPEcompiler">OpamTypes.compiler</a> -> unit</code></pre><div class="info">
Install the given compiler.<br>
</div>
<pre><span id="VALimport"><span class="keyword">val</span> import</span> : <code class="type"><a href="OpamTypes.html#TYPEfilename">OpamTypes.filename</a> option -> unit</code></pre><div class="info">
Import the packages from a file. If no filename is specified,
read stdin.<br>
</div>
<pre><span id="VALexport"><span class="keyword">val</span> export</span> : <code class="type"><a href="OpamTypes.html#TYPEfilename">OpamTypes.filename</a> option -> unit</code></pre><div class="info">
Export the packages to a file. If no filename is specified,
write to stdout.<br>
</div>
<pre><span id="VALremove"><span class="keyword">val</span> remove</span> : <code class="type"><a href="OpamTypes.html#TYPEswitch">OpamTypes.switch</a> -> unit</code></pre><div class="info">
Remove the given compiler.<br>
</div>
<pre><span id="VALreinstall"><span class="keyword">val</span> reinstall</span> : <code class="type"><a href="OpamTypes.html#TYPEswitch">OpamTypes.switch</a> -> unit</code></pre><div class="info">
Reinstall the given compiler.<br>
</div>
<pre><span id="VALlist"><span class="keyword">val</span> list</span> : <code class="type">print_short:bool -> installed_only:bool -> unit</code></pre><div class="info">
List the available compiler descriptions.<br>
</div>
<pre><span id="VALshow"><span class="keyword">val</span> show</span> : <code class="type">unit -> unit</code></pre><div class="info">
Display the name of the current compiler.<br>
</div>
</body></html>