Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Borrows publisher callbacks without discovering artifacts from directory names or file extensions.

API: engine
Project: Inno.Build.Toolchains

public Inno.Build.Toolchains.BuildCacheOwnerDescriptor.BuildCacheOwnerDescriptor(string id, string directory, string coordinationPath, System.Func<System.Threading.CancellationToken, System.Collections.Generic.IReadOnlyList<Inno.Build.Toolchains.BuildCacheArtifactDescriptor>> readArtifacts, System.Func<System.Threading.CancellationToken, System.Collections.Generic.IReadOnlyList<string>> readProtectedArtifacts, System.Action<System.Threading.CancellationToken>? retireMetadata = null)

Parameter id: The unique registration identity within this cleanup operation.

Parameter directory: The absolute cache root exclusively managed by this publisher.

Parameter coordinationPath: The persistent owner lease also acquired by publication and protected-root updates. It must remain within the cache root and is never deleted by cleanup.

Parameter readArtifacts: Returns only generations proven to belong to this owner, with their dependency metadata. The callback must observe cancellation and must not create, repair or publish artifacts.

Parameter readProtectedArtifacts: Returns current product and Pack roots; retirement follows their complete dependency closure. Root updates must hold coordinationPath and retain each referenced artifact’s reading lease.

Parameter retireMetadata: Optional owner-specific metadata retirement, called only under exclusive owner coordination.

Exception T:System.ArgumentException: An identity is blank or a path is relative.

Exception T:System.ArgumentNullException: An inventory callback is absent.