code: public BucketSet getBucketSet(Iterable<String> paths) {
  
          Set<String> bucketNames = Sets.newHashSet();
          for (String path : paths) {
              bucketNames.addAll(getBucketsForPath(path));
          }
          if (LOG.isDebugEnabled()) {
              LOG.debug("Determined bucket set " + bucketNames.toString() + " for path set " + paths);
          }
          return new BucketSet(bucketNames);
      }
docs: Computes the bucket set for a set of paths based on this configuration.<p>
  
  The resulting bucket set contains all buckets for which one of the given paths is below the
  configured roots of that bucket.
  
  @param paths a list of root paths
  
  @return the bucket set for the input paths