S3_File.create_directory
create_directory
Group: Output
Documentation
Within S3 the concept of creating directories has slightly different meaning than on other filesystems. The create_directory
method is provided on S3_File
only for compatibility - to allow easy switching between file-systems. It does not perform any actual operation. Note that in S3 a directory is treated as existing if it contains any entries. Thus, even after calling this create_directory
method, the exists
method may still yield False
until the directory is populated with some files. To warn about this specific behaviour, a warning is attached to the result.