[Box Backup-commit] [boxbackup/boxbackup] f04780: Fix confusion about URIs and paths in S3 filesyste...

GitHub noreply at github.com
Tue Oct 25 22:23:08 BST 2016


  Branch: refs/heads/s3_support_merge
  Home:   https://github.com/boxbackup/boxbackup
  Commit: f0478087d489303a9420eb70bfeafb86f70ea8e2
      https://github.com/boxbackup/boxbackup/commit/f0478087d489303a9420eb70bfeafb86f70ea8e2
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2016-10-25 (Tue, 25 Oct 2016)

  Changed paths:
    M lib/backupstore/BackupFileSystem.cpp
    M lib/backupstore/BackupFileSystem.h
    M test/s3store/tests3store.cpp

  Log Message:
  -----------
  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" 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).




More information about the Boxbackup-commit mailing list