Skip to content

angee.storage_integrate.backends

Read-only byte serving for externally-owned local folders.

LocalFolderBackend

python
class LocalFolderBackend(FileSystemStorage, StorageBackend)

Read-only filesystem backend rooted at an externally-owned folder.

__init__

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

Bind the required external root without creating or changing it.

delete

python
def delete(name: str) -> None

Refuse direct deletion of externally-owned bytes.

url

python
def url(name: str) -> str

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

discard

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

Leave external bytes untouched when a storage row is purged.

Released under the AGPL-3.0 License.