archivebox.misc.checks
Module Contents
Functions
Return whether path is the root of an ArchiveBox source checkout. |
|
Refuse data-producing execution from the ArchiveBox source checkout. |
|
API
- archivebox.misc.checks.check_migrations(*, blocking: bool = True, auto_apply: bool = False, cancel_delay: int = 3) list[str][source]
- archivebox.misc.checks.is_archivebox_source_root(path: pathlib.Path | str | None = None) bool[source]
Return whether path is the root of an ArchiveBox source checkout.
- archivebox.misc.checks.check_not_inside_source_dir(path: pathlib.Path | str | None = None) None[source]
Refuse data-producing execution from the ArchiveBox source checkout.