OpamSwitchThe type for switch names
include OpamStd.ABSTRACTval of_string : string -> tval to_string : t -> stringval to_json : t -> OpamJson.tval of_json : OpamJson.t -> t optionmodule Set : OpamStd.SET with type elt = tmodule Map : OpamStd.MAP with type key = tval unset : tSystem switch name
val is_external : t -> boolDetermines wether this switch is internal (bound to a prefix within the opam root) or living somewhere else, in which case its prefix dir is inferred from its name using get_root
val get_root : OpamFilename.Dir.t -> t -> OpamFilename.Dir.tReturns the root directory of the switch with the given name, assuming the given opam root
The relative dirname in which the opam switch prefix sits for external switches ("_opam")
val of_dirname : OpamFilename.Dir.t -> tReturns an external switch handle from a directory name. Resolves to the destination if external_dirname at the given dir is a symlink to another external_dirname.