MCPcopy
hub / github.com/ArchiveBox/ArchiveBox / remove_from_sql_main_index

Function remove_from_sql_main_index

archivebox/index/sql.py:31–35  ·  view source on GitHub ↗
(snapshots: QuerySet, atomic: bool=False, out_dir: Path=OUTPUT_DIR)

Source from the content-addressed store, hash-verified

29
30@enforce_types
31def remove_from_sql_main_index(snapshots: QuerySet, atomic: bool=False, out_dir: Path=OUTPUT_DIR) -> None:
32 if atomic:
33 with transaction.atomic():
34 return snapshots.delete()
35 return snapshots.delete()
36
37@enforce_types
38def write_link_to_sql_index(link: Link):

Callers 1

removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected