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[] additional_package_suppliers, SkipPackageSuppliers skip_registry)
    class Dub
  2. this(NativePath root, NativePath pkg_root)
  3. this(NativePath pkg_root)

Parameters

root_path string

Path to the root package

additional_package_suppliers PackageSupplier[]

A list of package suppliers to try before the suppliers found in the configurations files and the defaultPackageSuppliers.

skip_registry SkipPackageSuppliers

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

Meta