MCPcopy Create free account
hub / github.com/FastLED/FastLED / AssetEntry

Class AssetEntry

ci/compiler/asset_scanner.py:44–57  ·  view source on GitHub ↗

Resolved metadata for a single ``*.lnk`` file. Attributes: url: Primary URL from the first non-comment line of the ``.lnk``. sha256: Optional hex digest declared in the ``.lnk`` (``sha256=...``). v1 runtime ignores this; parser captures it for forward-compat.

Source from the content-addressed store, hash-verified

42
43@dataclass
44class AssetEntry:
45 """Resolved metadata for a single ``*.lnk`` file.
46
47 Attributes:
48 url: Primary URL from the first non-comment line of the ``.lnk``.
49 sha256: Optional hex digest declared in the ``.lnk`` (``sha256=...``).
50 v1 runtime ignores this; parser captures it for forward-compat.
51 fallback: Optional mirror URL declared in the ``.lnk`` (``fallback=...``).
52 v1 runtime ignores this; parser captures it for forward-compat.
53 """
54
55 url: str
56 sha256: str | None = None
57 fallback: str | None = None
58
59
60@dataclass

Calls

no outgoing calls