Package.load

Constructs a Package using a package that is physically present on the local file system.

class Package
static
load
(
NativePath root
,
NativePath recipe_file = NativePath.init
,
Package parent = null
,
string version_override = ""
)

Parameters

root NativePath

The directory in which the package resides.

recipe_file NativePath

Optional path to the package recipe file. If left empty, the root directory will be searched for a recipe file.

parent Package

Reference to the parent package, if the new package is a sub package.

version_override string

Optional version to associate to the package instead of the one declared in the package recipe, or the one determined by invoking the VCS (GIT currently).

Meta