Code/SboxSuperuser/Engine/Audit/IAuditRetention.cs

Interface for audit retention in a superuser tool package. Declares one method, PruneAuditAsync, which prunes audit storage down to an expected revision with a cancellation token.

using SboxSuperuser.Core.Storage;

namespace SboxSuperuser.Engine.Audit;

internal interface IAuditRetention
{
	Task<StoragePruneResult> PruneAuditAsync( long expectedRevision, CancellationToken cancellation );
}