Publishing

publish_list

List published files in S3

Lists files in an S3 bucket/prefix.


Usage

publish_list(prefix = NULL, connection = NULL, max = 1000L)

Arguments

Argument Description
prefix

Character or NULL. Prefix to filter by. If NULL, lists all files under the connection's configured prefix.

connection

Character or NULL. S3 connection name, or NULL for default.

max

Integer. Maximum number of files to list. Default 1000.

Returns

Data frame with columns: key, size, last_modified.

Examples

# List all published files
publish_list()

# List files under a prefix
publish_list("reports/")

# List from specific connection
publish_list(connection = "s3_backup")

Source: R/publish.R