OpamPath.Repository

# Module OpamPath.Repository

    module Repository: sig .. end

Repository paths

    val create : OpamPath.t -> OpamTypes.repository_name -> OpamTypes.dirname

Repository local path: $opam/repo/<name>

    val update_cache : OpamTypes.repository -> OpamTypes.filename

Update cache

    val repo : OpamTypes.repository -> OpamTypes.filename

Return the repo file

    val remote_repo : OpamTypes.repository -> OpamTypes.filename

Remote repo file

    val raw_config : OpamTypes.dirname -> OpamTypes.repository_name -> OpamTypes.filename

Return the repository config: $opam/repo/$repo/config

    val config : OpamTypes.repository -> OpamTypes.filename

Return the repository config: $opam/repo/$repo/config

    val packages_dir : OpamTypes.repository -> OpamTypes.dirname

Packages folder: $opam/repo/$repo/packages

    val remote_packages_dir : OpamTypes.repository -> OpamTypes.dirname

Remote package files: $remote/packages

    val packages : OpamTypes.repository ->
           string option -> OpamTypes.package -> OpamTypes.dirname

Package folder: $opam/repo/$repo/packages/XXX/$NAME.$VERSION

    val opam : OpamTypes.repository ->
           string option -> OpamTypes.package -> OpamTypes.filename

Return the OPAM file for a given package: $opam/repo/$repo/packages/XXX/$NAME.$VERSION/opam

    val descr : OpamTypes.repository ->
           string option -> OpamTypes.package -> OpamTypes.filename

Return the description file for a given package: $opam/repo/$repo/packages/XXX/$NAME.VERSION/descr

    val url : OpamTypes.repository ->
           string option -> OpamTypes.package -> OpamTypes.filename

urls $opma/repo/$repo/package/XXX/$NAME.$VERSION/url

    val files : OpamTypes.repository ->
           string option -> OpamTypes.package -> OpamTypes.dirname

files $opam/repo/$repo/packages/XXX/$NAME.$VERSION/files

    val archive : OpamTypes.repository -> OpamTypes.package -> OpamTypes.filename

Return the archive for a given package: $opam/repo/$repo/archives/$NAME.$VERSION.tar.gz

    val remote_archive : OpamTypes.repository -> OpamTypes.package -> OpamTypes.filename

Remote archive $remote/archives/$NAME.$VERSION.tar.gz

    val archives_dir : OpamTypes.repository -> OpamTypes.dirname

Return the archive folder: $opam/repo/$repo/archives/

    val upload_dir : OpamTypes.repository -> OpamTypes.dirname

Return the upload folder for a given version: $opam/repo/$repo/upload/

    val compilers_dir : OpamTypes.repository -> OpamTypes.dirname

Compiler files: $opam/repo/$repo/compilers/

    val compiler_comp : OpamTypes.repository ->
           string option -> OpamTypes.compiler -> OpamTypes.filename

Compiler files: $opam/repo/$repo/compilers/XXX/$OVERSION.comp

    val compiler_descr : OpamTypes.repository ->
           string option -> OpamTypes.compiler -> OpamTypes.filename

Compiler description files: $opam/repo/$repo/compilers/XXX/$OVERSION.descr

    val remote_compilers_dir : OpamTypes.repository -> OpamTypes.dirname

Remote compiler files: $remote/compilers