Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix confusion about URIs and paths in S3 filesystem
* Make it clear (with parameter names and comments) which functions take paths (relative to the configured base path), which functions take URIs (complete paths) and which functions take URLs (hostname, port and URI). * Put all objects (files and directories) in the same "directory" tree on S3, so that we can list them all together and easily identify the type of each object (from its extension). Previously they were separated into "directories" (delimited prefixes) called "files" and "dirs" (unlike BackupStore filesystems). * Reinstate hierarchical "directories" on S3, similar to BackupStore filesystems, since the reasons for doing this in RaidFile may well apply to S3 and other compatible stores too. However the objects are still named with their complete object ID (unlike RaidFile) and a .file or .dir extension. (cherry picked from commit 3dd21a3)
- Loading branch information
Showing
4 changed files
with
124 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters