Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Freezes ownership metadata supplied by the artifact’s actual publisher.

API: engine
Project: Inno.Build.Toolchains

public Inno.Build.Toolchains.BuildCacheArtifactDescriptor.BuildCacheArtifactDescriptor(string directory, string leasePath, string? targetId, long bytes, System.DateTime lastUseUtc, System.Collections.Generic.IReadOnlyList<string> dependencies, Inno.Build.Toolchains.BuildCacheArtifactRole role)

Parameter directory: The absolute published artifact or producer-owned workspace directory.

Parameter leasePath: The absolute persistent file used by this entry’s actual producer and readers for Core.IO coordination.

Parameter bytes: The publisher-recorded sum of owned file lengths, captured under writing ownership for cache budgeting. It does not measure allocated disk blocks or count shared hardlinks as recovered volume space.

Parameter targetId: The explicit product target, or null for a shared host artifact that target-scoped cleanup must preserve.

Parameter lastUseUtc: The publisher’s last recorded use, used only to order retirement.

Parameter dependencies: Absolute artifact directories required by this generation.

Parameter role: The producer-declared lifetime; workspace preference alone does not pin an immutable product.

Exception T:System.ArgumentException: A path is relative or the timestamp is not UTC.

Exception T:System.ArgumentOutOfRangeException: The measured size is negative.

Exception T:System.ArgumentNullException: The dependency collection is absent.