# Module OpamFile.Config

    module Config: sig .. end

Configuration file: `$opam/config`

    include OpamFile.IO_FILE

    val create : OpamTypes.switch ->
           OpamTypes.repository_name list ->
           ?criteria:(OpamTypes.solver_criteria * string) list ->
           ?solver:OpamTypes.arg list ->
           int -> ?download_tool:OpamTypes.arg list -> int -> t

Creation

    val with_switch : t -> OpamTypes.switch -> t

OCaml switch updates

    val with_repositories : t -> OpamTypes.repository_name list -> t

Repository updates

    val with_current_opam_version : t -> t

Update opam-version to the current one

    val with_criteria : t -> (OpamTypes.solver_criteria * string) list -> t

    val with_solver : t -> OpamTypes.arg list option -> t

    val opam_version : t -> OpamTypes.opam_version

Return the OPAM version

    val repositories : t -> OpamTypes.repository_name list

Return the list of repository

    val switch : t -> OpamTypes.switch

Return the OCaml switch

    val jobs : t -> int

Return the number of jobs

    val dl_tool : t -> OpamTypes.arg list option

    val dl_jobs : t -> int

Return the number of download jobs

    val criteria : t -> (OpamTypes.solver_criteria * string) list

    val solver : t -> OpamTypes.arg list option