Documentation

Lake.Build.Target.Fetch

@[inline]
def Lake.PartialBuildKey.fetchInCore (defaultPkg : Package) (self : PartialBuildKey) :
FetchM ((key : BuildKey) × Job (BuildData key))

For internal use only.

Equations
@[inline]

Fetches the target specified by this key, resolving gaps as needed.

  • A missing package (i.e., Name.anoanmoyus) is filled in with defaultPkg.
  • Facets are qualified by the their input target's kind, and missing facets are replaced by their kind's default.
  • Package targets ending in moduleTargetIndicator are converted to module package targets.
  • Package targets for non-dynamic targets (i.e., non-target) produce their default facet rather than their configuration.
Equations
@[inline]
def Lake.BuildKey.fetch {α : Type} (self : BuildKey) [FamilyOut BuildData self α] :
FetchM (Job α)
Equations
def Lake.Target.fetchIn {α : Type} [DataKind α] (defaultPkg : Package) (self : Target α) :
FetchM (Job α)
Equations
  • One or more equations did not get rendered due to their size.
def Lake.TargetArray.fetchIn {α : Type} [DataKind α] (defaultPkg : Package) (self : TargetArray α) :
Equations