# Module OpamClient.API.PIN

    module PIN: sig .. end

Pin API

    val pin : OpamPackage.Name.t ->
           ?edit:bool ->
           ?version:OpamTypes.version ->
           ?action:bool -> OpamTypes.pin_option option -> unit

Set a package pinning. if `pin_option` is `None`, set the package defined upstream. If `action`, prompt for install/reinstall as appropriate after pinning.

    val edit : ?action:bool -> OpamPackage.Name.t -> unit

    val unpin : ?action:bool -> OpamPackage.Name.t list -> unit

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

List the current pinned packages.