Skip to content

angee.storage_integrate_iphone.backends

Read-only storage backend for logical paths inside an iPhone backup.

IphoneBackupStorageBackend

python
class IphoneBackupStorageBackend(StorageBackend)

Map logical domain/relativePath keys to content-addressed blobs.

__init__

python
def __init__(*, backend_config: Mapping[str, Any] | None = None) -> None

Bind the backup root without retaining a thread-affine connection.

delete

python
def delete(name: str) -> None

Refuse direct deletion of externally-owned backup bytes.

exists

python
def exists(name: str) -> bool

Return whether a logical key resolves to an existing backup blob.

size

python
def size(name: str) -> int

Return the physical blob size for one logical key.

url

python
def url(name: str) -> str

Refuse public URLs; bytes are served through Angee's proxy.

presigned_get

python
def presigned_get(key: str, *, expires_in: int) -> str | None

Use the authenticated Angee proxy for every download.

discard

python
def discard(key: str, *, context: str) -> None

Leave externally-owned backup bytes untouched when rows are purged.

Released under the AGPL-3.0 License.