Package.this

Constructs a Package using an in-memory package recipe.

  1. this(Json json_recipe, NativePath root, Package parent, string version_override)
  2. this(PackageRecipe recipe, NativePath root, Package parent, string version_override)
    class Package
    this
    (
    PackageRecipe recipe
    ,
    NativePath root = NativePath()
    ,
    Package parent = null
    ,
    string version_override = ""
    )

Parameters

recipe PackageRecipe

The package recipe in generic format

root NativePath

The directory in which the package resides (if any).

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