PackageManager.this

Instantiate a PackageManager with the provided Filesystem and paths

Unlike the other overload, paths are taken as-if, e.g. packages/ is not appended to them.

  1. this(NativePath path)
  2. this(NativePath package_path, NativePath user_path, NativePath system_path, bool refresh_packages)
  3. this(Filesystem fs, NativePath local, NativePath user, NativePath system)
    class PackageManager
    this
    (
    Filesystem fs
    ,
    NativePath local
    ,
    NativePath user
    ,
    NativePath system
    )

Parameters

fs Filesystem

Filesystem abstraction to handle all folder/file I/O.

local NativePath

Path to the local package cache (usually the one in the project), whih takes preference over user and system.

user NativePath

Path to the user package cache (usually ~/.dub/packages/), takes precedence over system but not over local.

system NativePath

Path to the system package cache, this has the least precedence.

Meta