OpamSwitchSourceThe type for switch names
Determines 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
Returns 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")
Returns 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.