aleph.archive.s3

S3Archive

class aleph.archive.s3.S3Archive

Imports

  • <UNKNOWN>
__init__(self, config)
_get_local_prefix(self, content_hash)
_locate_key(self, content_hash)
archive_file(self, file_path)
cleanup_file(self, content_hash)

Delete the local cached version of the file.

generate_url(self, content_hash)
load_file(self, content_hash)
upgrade(self)

Make sure bucket policy is set correctly.