lib/services/s3.js
function(buckets) {
    var bucketRegionCache = this.bucketRegionCache;
    if (!buckets) {
      buckets = Object.keys(bucketRegionCache);
    } else if (typeof buckets === 'string') {
      buckets = [buckets];
    }
    for (var i = 0; i < buckets.length; i++) {
      delete bucketRegionCache[buckets[i]];
    }
    return bucketRegionCache;
   }
function(buckets) {
    var bucketRegionCache = this.bucketRegionCache;
    if (!buckets) {
      buckets = Object.keys(bucketRegionCache);
    } else if (typeof buckets === 'string') {
      buckets = [buckets];
    }
    for (var i = 0; i < buckets.length; i++) {
      delete bucketRegionCache[buckets[i]];
    }
    return bucketRegionCache;
   }
function ( buckets ) { var bucketRegionCache = this . bucketRegionCache ; if ( ! buckets ) { buckets = Object . keys ( bucketRegionCache ) ; } else if ( typeof buckets === 'string' ) { buckets = [ buckets ] ; } for ( var i = 0 ; i < buckets . length ; i ++ ) { delete bucketRegionCache [ buckets [ i ] ] ; } return bucketRegionCache ; }
Clears bucket region cache.

@api private
Clears bucket region cache .