Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val pin :
OpamStateTypes.rw OpamStateTypes.switch_state ->
OpamPackage.Name.t ->
?edit:bool ->
?version:OpamTypes.version ->
?action:bool ->
[< `Source of OpamTypes.url
| `Version of OpamTypes.version
| `Dev_upstream
| `None ] ->
OpamStateTypes.rw OpamStateTypes.switch_state
Set a package pinning. If action
, prompt for install/reinstall as appropriate after pinning.
val edit :
OpamStateTypes.rw OpamStateTypes.switch_state ->
?action:bool ->
?version:OpamTypes.version ->
OpamPackage.Name.t ->
OpamStateTypes.rw OpamStateTypes.switch_state
val unpin :
OpamStateTypes.rw OpamStateTypes.switch_state ->
?action:bool ->
OpamPackage.Name.t list ->
OpamStateTypes.rw OpamStateTypes.switch_state
val list : 'a OpamStateTypes.switch_state -> short:bool -> unit
List the current pinned packages.