File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
s3/src/main/java/ch/cyberduck/core/s3 Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -226,13 +226,15 @@ public Path call() throws BackgroundException {
226226 final BaseVersionOrDeleteMarker version = versions .getItems ()[0 ];
227227 if (URIEncoder .decode (version .getKey ()).equals (prefix )) {
228228 attr .setVersionId (version .getVersionId ());
229+ log .debug ("Set trashed attribute for prefix {}" , key );
229230 attr .setTrashed (version .isDeleteMarker ());
230231 }
231232 // No placeholder but objects inside; need to check if all of them are deleted
232233 final StorageObjectsChunk unversioned = session .getClient ().listObjectsChunked (
233234 bucket .isRoot () ? StringUtils .EMPTY : bucket .getName (), prefix ,
234235 null , 1 , null , false );
235236 if (unversioned .getObjects ().length == 0 ) {
237+ log .debug ("Set duplicate attribute for prefix {}" , key );
236238 attr .setDuplicate (true );
237239 }
238240 }
You can’t perform that action at this time.
0 commit comments