Skip to main content

Module client

Module client 

Source

Structs§

BucketInfo
Bucket information returned from S3
FolderContent
S3ClientManager
S3 Client Manager - creates and caches S3 clients per profile and region
S3Object

Functions§

format_size
Format bytes to human-readable size
get_bucket_region
Get the region for a specific bucket. Note: GetBucketLocation is not supported by all S3-compatible providers (e.g., Linode Object Storage, DigitalOcean Spaces). Callers should handle errors gracefully and fall back to the profile’s configured region.
list_buckets
List all buckets accessible by the current credentials