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

Buckets.getVersioning() method

Check if versioning of files is enabled for a bucket

Signature:

getVersioning(bucketName: string): Promise<boolean>;

Parameters

Parameter Type Description
bucketName string Bucket name

Returns:

Promise<boolean>

true if versioning is enabled, false otherwise