OpamRepositoryRootThis module abstract the notion of repository root over its concrete implementation (could be a database, a file, a directory, etc.)
module Dir : sig ... endRepository root implemented as a directory
val make_tar_gz_job : OpamTypes.filename -> Dir.t -> exn option OpamProcess.jobval extract_in_job : OpamTypes.filename -> Dir.t -> exn option OpamProcess.jobquarantine repo_root returns a temporary repository root dedicated to repo_root. the returned repository is not created on disk and points to a statically known repository located in the same parent directory as repo_root.
val backup : inn:OpamTypes.dirname -> t -> tval remove : t -> unitval is_empty : t -> bool optionval make_empty : t -> unitval dirname : t -> OpamTypes.dirnameval basename : t -> OpamTypes.basenameval to_string : t -> stringval exists : t -> boolval is_symlink : t -> boolval patch :
allow_unclean:bool ->
[ `Patch_file of OpamTypes.filename | `Patch_diffs of Patch.t list ] ->
t ->
(Patch.operation list, exn) Stdlib.resultval delayed_read_repo : t -> bool * (unit -> OpamFile.Repo.t)Returns a pair (exists, f) where exists tells whether the repo file exists in the repository and f reads it