Backblaze-B2V2Client
view release on metacpan or search on metacpan
lib/Backblaze/B2V2Client.pm view on Meta::CPAN
if ($bucket_name && !$self->{buckets}{$bucket_name} && $auto_create_bucket) {
$self->b2_bucket_maker($bucket_name);
# this will call back to me and get the info
}
return $self->{current_status};
}
# method to retrieve file names / info from a bucket
# this client library is bucket-name-centric, so it looks for the bucket name as a arg
# if there are more than 1000 files, then call this repeatedly
our $B2_MAX_FILE_COUNT = 1000;
sub b2_list_file_names {
my ($self, $bucket_name, %args) = @_;
# bucket_name is required
if (!$bucket_name) {
$self->error_tracker('The bucket_name must be provided for b2_list_file_names().');
return $self->{current_status};
}
( run in 0.591 second using v1.01-cache-2.11-cpan-607d282f910 )