Synced
AssetLoader.CollectArtifacts
Section titled “AssetLoader.CollectArtifacts”
- Collects unreachable content-addressed artifacts.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public int Inno.Assets.Pipeline.AssetLoader.CollectArtifacts(System.TimeSpan gracePeriod, long maximumSizeBytes)Parameters
Section titled “Parameters”Parameter gracePeriod: The minimum age of an unreachable bundle.
Parameter maximumSizeBytes: The cache size limit, or zero for no limit.
Returns
Section titled “Returns”The number of removed artifact bundles.