Home > @hapoosjs/api-buckets > Buckets > listFiles

Buckets.listFiles() method

List files in a bucket or folder within a bucket

Signature:

listFiles(bucketName: string, options?: ListFilesOptions): Promise<BucketFileList>;

Parameters

Parameter Type Description
bucketName string Bucket name
options ListFilesOptions (Optional)

Returns:

Promise<BucketFileList>