# Module OpamClient.API.REPOSITORY

    module REPOSITORY: sig .. end

Repository API

    val list : short:bool -> unit

Display the list of 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-up repository priority.

    val set_url : OpamTypes.repository_name -> OpamTypes.address -> unit

Set-up repository url.