- Added a new `isDirEmpty` that uses an iterator to check emptiness, should be 
more performant for folders with many files
- Modified unit tests, cannot use the count of objects like in S3 for 
FileSystem blob store as directories are also counted individually
- Modified the logic in `clearContainer` when prefix, inDirectory, recursive 
are used. Its a bit messy in there, comments appreciated. 
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/1258

-- Commit Summary --

  * Fix for FileSystem blob store clearContainer with options

-- File Changes --

    M 
apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java
 (90)
    M 
apis/filesystem/src/test/java/org/jclouds/filesystem/integration/FilesystemContainerIntegrationTest.java
 (3)
    M 
blobstore/src/test/java/org/jclouds/blobstore/integration/internal/BaseContainerIntegrationTest.java
 (28)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/1258.patch
https://github.com/jclouds/jclouds/pull/1258.diff

-- 
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/pull/1258

Reply via email to