Dub.this

Initializes the instance with a single package search path, without loading a package.

This constructor corresponds to the "--bare" option of the command line interface.

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

Parameters

root NativePath

The root path of the Dub instance itself.

pkg_root NativePath

The root of the location where packages are located Only packages under this location will be accessible. Note that packages at the top levels will be ignored.

Meta