fix s3 doesDirectoryExist check for empty directories
if a directory is empty, only the 'marker' object `/` exists. since not all s3 implementations return just the prefix when listing objects by prefix, when listing objects by the folder prefix, nothing will be returned if the directory is empty. by not including the trailing slash in the prefix, the folder marked will always be returned if it exists Signed-off-by: Robin Appelman <robin@icewind.nl>pull/22747/head
parent
9780c4f755
commit
fc96fa0cc7
Loading…
Reference in New Issue