Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CleanupPolicyMostRecentVersions

import type { CleanupPolicyMostRecentVersions } from "https://googleapis.deno.dev/v1/artifactregistry:v1.ts";

CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.

interface CleanupPolicyMostRecentVersions {
keepCount?: number;
packageNamePrefixes?: string[];
}

§Properties

§
keepCount?: number
[src]

Minimum number of versions to keep.

§
packageNamePrefixes?: string[]
[src]

List of package name prefixes that will apply this rule.