Skip to contents

Count objects at a CDN prefix without downloading them. Useful for progress indicators and validation before bulk operations.

Usage

cdn_count_keys(prefix, bucket)

Arguments

prefix

CDN path prefix to count.

bucket

CDN bucket name.

Value

Integer count of objects at prefix (non-recursive).

Functions

  • cdn_count_keys(): Count keys at prefix (non-recursive)

Examples

if (FALSE) { # \dontrun{
cdn_count_keys("thumbnails/artist-uuid", "art-public")
} # }