OpamRepositoryCommandRepository sub-command functions.
val update :
OpamState.Types.t ->
OpamTypes.repository ->
(OpamState.state -> OpamState.state) OpamProcess.jobUpdate the given repository from its upstream. Returns a concurrency-safe state update function
val update_package_index : OpamState.Types.t -> OpamState.Types.tUpdate the package index.
val update_compiler_index : OpamState.Types.t -> OpamState.Types.tUpdate the compiler index.
val update_dev_packages :
OpamState.Types.t ->
verbose:bool ->
OpamTypes.package_set ->
OpamTypes.package_setUpdate the given dev packages.
val fix_compiler_descriptions :
OpamState.Types.t ->
verbose:bool ->
OpamTypes.compiler_set OpamTypes.updatesFix the compiler descriptions and display the changes if verbose is set.
val fix_package_descriptions :
OpamState.Types.t ->
verbose:bool ->
OpamTypes.package_set OpamTypes.updatesFix the the package descriptions and display the changes if verbose is set.
val fix_descriptions :
?save_cache:bool ->
?verbose:bool ->
OpamState.Types.t ->
unitFix all the package and compiler descriptions.
val add :
OpamTypes.repository_name ->
OpamTypes.repository_kind ->
OpamTypes.address ->
priority:int option ->
unitAdd a new repository.
val remove : OpamTypes.repository_name -> unitRemove a repository.
val priority : OpamTypes.repository_name -> priority:int -> unitSet a repository priority.
val set_url : OpamTypes.repository_name -> OpamTypes.address -> unitChange the registered address of a repo