> + String delimiter = null;
> + if (!options.isRecursive()) {
> + delimiter = "/";
> + }
> + if (options.getDelimiter() != null) {
> + delimiter = options.getDelimiter();
> + }
> +
> + Bucket bucket = getBucket(container);
> +
> + ImmutableList.Builder<StorageMetadata> builder =
> ImmutableList.builder();
> + B2ObjectList list =
> api.getObjectApi().listFileNames(bucket.bucketId(), options.getMarker(),
> options.getMaxResults());
> + Set<String> commonPrefixes = Sets.newHashSet();
> + for (B2ObjectList.Entry entry : list.files()) {
> + // B2 does not support server-side filtering via prefix and
> delimiter so we emulate it on the client.
> + // TODO: cooperate with maxResults
Done.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/288/files/80e8fd4b2040ca8ea637d1efc1ab83000dcbe293#r67791647