> +      }
> +      if ((from.getDir() == null) && (!from.isRecursive())) {
> +         options.path("");
> +      }
> +      if ((from.getDir() != null) && (from.isRecursive())) {
> +         options.prefix(from.getDir().endsWith("/") ? from.getDir() : 
> from.getDir() + "/");
> +      }
> +      if ((from.getDir() != null) && (!from.isRecursive())) {
> +         options.path(from.getDir());
> +      }
> +      if (from.getMarker() != null) {
> +         options.marker(from.getMarker());
> +      }
> +      if (from.getMaxResults() != null) {
> +         options.limit(from.getMaxResults());
> +      }

Do we have or need tests for this logic?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/33/files#r7235179

Reply via email to