macaron.slsa_analyzer.asset package
This module defines classes and interfaces related to assets.
Assets are files published from some build.
- class macaron.slsa_analyzer.asset.AssetLocator(*args, **kwargs)
Bases:
Protocol
Interface of an asset locator.
- download(dest)
Download the asset.
- __init__(*args, **kwargs)
- class macaron.slsa_analyzer.asset.VirtualReleaseAsset(name: str, url: str, size_in_bytes: int)
Bases:
NamedTuple
A dummy asset used when an asset doesn’t actually exist.