Up

module OpamPinCommand

: sig

Pin subcommand.

#
val pin : OpamTypes.name -> OpamTypes.pin_option -> bool option

Pin 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 option

Let 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 : OpamTypes.name -> bool

Unpin a package. Returns true if the package should be rebuilt

#
val list : short:bool -> unit -> unit

List the pinned packages.

end