package opam-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

OCaml

Innovation. Community. Security.