OpamSwitchCommandSwitch commands.
val install_cont :
quiet:bool ->
warning:bool ->
update_config:bool ->
OpamTypes.switch ->
OpamTypes.compiler ->
OpamTypes.switch * (unit -> unit)Install a new switch. Returns a continuation that must be run to install the packages, but only needs a switch lock.
val install :
quiet:bool ->
warning:bool ->
update_config:bool ->
OpamTypes.switch ->
OpamTypes.compiler ->
unitLike install_cont but runs the continuation already
val install_packages : OpamTypes.switch -> OpamTypes.compiler -> unitInstall a compiler's base packages
val import : OpamTypes.filename option -> unitImport a file which contains the packages to install.
val export : OpamTypes.filename option -> unitExport a file which contains the installed packages.
val remove : OpamTypes.switch -> unitRemove the given compiler switch.
val switch_cont :
?compiler:OpamTypes.compiler ->
quiet:bool ->
warning:bool ->
OpamTypes.switch ->
OpamTypes.switch * (unit -> unit)Switch to the given compiler switch. Returns a continuation like install
val switch :
?compiler:OpamTypes.compiler ->
quiet:bool ->
warning:bool ->
OpamTypes.switch ->
unitLike switch_cont but runs the continuation already.
val reinstall : OpamTypes.switch -> unitReinstall the given compiler switch.