Skip to content

base

django_spire.contrib.sync.file.archive.base

Archive

Bases: Protocol

extract

Source code in django_spire/contrib/sync/file/archive/base.py
def extract(self, destination: Path) -> list[Path]: ...

add

Source code in django_spire/contrib/sync/file/archive/base.py
def add(self, path: Path, arcname: str | None = None) -> None: ...

close

Source code in django_spire/contrib/sync/file/archive/base.py
def close(self) -> None: ...

__enter__

Source code in django_spire/contrib/sync/file/archive/base.py
def __enter__(self) -> Self: ...

__exit__

Source code in django_spire/contrib/sync/file/archive/base.py
def __exit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: object) -> None: ...