Dub.this

Initializes the instance for use with a specific root package.

Note that a package still has to be loaded using one of the loadPackage overloads.

  1. this(string root_path, PackageSupplier[] base, SkipPackageSuppliers skip)
    class Dub
    this
    (
    string root_path = "."
    ,
    PackageSupplier[] base = null
    ,)
  2. this(NativePath root, NativePath pkg_root)
  3. this(NativePath pkg_root)

Parameters

root_path string

Path to the root package

base PackageSupplier[]

A list of package suppliers that are always present (regardless of skip) and take precedence over the default and configured PackageSupplier. This setting is currently not used by the dub application but useful for libraries.

skip SkipPackageSuppliers

Can be used to skip using the configured package suppliers, as well as the default suppliers.

Meta