Documentation

Lake.Build.Key

inductive Lake.BuildKey :

The type of keys in the Lake build store.

Instances For
    @[implicit_reducible]
    @[implicit_reducible]
    def Lake.instDecidableEqBuildKey.decEq (x✝ x✝¹ : BuildKey) :
    Decidable (x✝ = x✝¹)
    Instances For
      @[implicit_reducible]

      A build key with some missing info.

      • Package names may be elided (replaced by Name.anonymous).
      • Facet names are unqualified (they do not include the input target kind) and may also be ellided.
      Instances For
        @[inline]

        Cast a BuildKey to a PartialBuildKey.

        Instances For

          Parses a PartialBuildKey from a String. Uses the same syntax as the lake build / lake query CLI.

          Instances For
            @[reducible, match_pattern, inline, deprecated Lake.BuildKey.packageModuleFacet (since := "2025-11-13")]
            Instances For
              @[reducible, match_pattern, inline]
              Instances For
                @[reducible, match_pattern, inline]
                abbrev Lake.BuildKey.packageModuleFacet (package module facet : Lean.Name) :
                Instances For
                  @[reducible, match_pattern, inline]
                  abbrev Lake.BuildKey.targetFacet (package target facet : Lean.Name) :
                  Instances For
                    @[reducible, match_pattern, inline]
                    abbrev Lake.BuildKey.customTarget (package target : Lean.Name) :
                    Instances For
                      Instances For

                        Like the default toString, but without disambiguation markers.

                        Instances For
                          @[implicit_reducible]