OpamPinCommandPin subcommand.
val pin :
OpamTypes.name ->
?version:OpamTypes.version ->
OpamTypes.pin_option ->
bool optionPin a package. Returns Some is_same_version if the package should be reinstalled (or upgraded if is_same_version is false)
val edit : OpamState.state -> OpamTypes.name -> bool optionLet the user edit a pinned package's opam file. Returns Some is_same_version if the package should be rebuilt. raises Not_found if no valid opam file is available and the user didn't succeed in producing one.
val unpin :
?state:OpamState.state ->
OpamTypes.name list ->
OpamTypes.name listUnpin packages. Returns the list of packages that should be rebuilt