package opam-lib

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

Repository sub-command functions.

Update the given repository from its upstream. Returns a concurrency-safe state update function

val update_package_index : OpamState.Types.t -> OpamState.Types.t

Update the package index.

val update_compiler_index : OpamState.Types.t -> OpamState.Types.t

Update the compiler index.

val update_dev_packages : OpamState.Types.t -> verbose:bool -> OpamTypes.package_set -> OpamTypes.package_set

Update the given dev packages.

val fix_compiler_descriptions : OpamState.Types.t -> verbose:bool -> OpamTypes.compiler_set OpamTypes.updates

Fix the compiler descriptions and display the changes if verbose is set.

val fix_package_descriptions : OpamState.Types.t -> verbose:bool -> OpamTypes.package_set OpamTypes.updates

Fix the the package descriptions and display the changes if verbose is set.

val fix_descriptions : ?save_cache:bool -> ?verbose:bool -> OpamState.Types.t -> unit

Fix all the package and compiler descriptions.

val list : short:bool -> unit

List the available repositories.

val add : OpamTypes.repository_name -> OpamTypes.repository_kind -> OpamTypes.address -> priority:int option -> unit

Add a new repository.

val remove : OpamTypes.repository_name -> unit

Remove a repository.

val priority : OpamTypes.repository_name -> priority:int -> unit

Set a repository priority.

Change the registered address of a repo

OCaml

Innovation. Community. Security.