You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current move() behavior does not let you move a file into a directory that does not currently exist. However, because S3 and Swift both virtualize directories in the form of keys, many libraries (I'm looking at you Hadoop Filesystem) support move semantics that allow for creating a directory structure when moving a file.
The text was updated successfully, but these errors were encountered:
dekobon
changed the title
MantaClient.move() doesn't support moving a file to a non-existent directory
MantaClient.move() does not support moving a file to a non-existent directory
Jun 14, 2017
This covers a gap for users / third-party libraries integrating. S3 virtualizes a file system by storing keys with path separators, Manta does not. This means that adding an object to a directory that doesn't exist is essentially just adding a key. We don't have a way to fill that gap other than this functionality.
…directories (#258)
* Fixes#256
* Added additional move() signature that allows you to support or not support recursive dir creation on move.
* Updated changelog.
* Added additional test to "move" test group.
* Added null and empty string validation for move() source and destination path.
* Removed @test for utility method.
Current move() behavior does not let you move a file into a directory that does not currently exist. However, because S3 and Swift both virtualize directories in the form of keys, many libraries (I'm looking at you Hadoop Filesystem) support move semantics that allow for creating a directory structure when moving a file.
The text was updated successfully, but these errors were encountered: