SafeAPI.SWITCHSwitch API
val switch :
?compiler:OpamTypes.compiler ->
quiet:bool ->
warning:bool ->
OpamTypes.switch ->
unitSet the given switch, installing it if necessary. Take the global file lock.
val install :
quiet:bool ->
warning:bool ->
update_config:bool ->
OpamTypes.switch ->
OpamTypes.compiler ->
unitInstall the given compiler.
val import : OpamTypes.filename option -> unitImport the packages from a file. If no filename is specified, read stdin.
val export : OpamTypes.filename option -> unitExport the packages to a file. If no filename is specified, write to stdout.
val remove : OpamTypes.switch -> unitRemove the given compiler.
val reinstall : OpamTypes.switch -> unitReinstall the given compiler.
List the available compiler descriptions.