MCPcopy
hub / github.com/ArchiveBox/ArchiveBox / log_removal_finished

Function log_removal_finished

archivebox/logging_util.py:512–523  ·  view source on GitHub ↗
(all_links: int, to_remove: int)

Source from the content-addressed store, hash-verified

510 raise SystemExit(0)
511
512def log_removal_finished(all_links: int, to_remove: int):
513 if all_links == 0:
514 print()
515 print('{red}[X] No matching links found.{reset}'.format(**ANSI))
516 else:
517 print()
518 print('{red}[√] Removed {} out of {} links from the archive index.{reset}'.format(
519 to_remove,
520 all_links,
521 **ANSI,
522 ))
523 print(' Index now contains {} links.'.format(all_links - to_remove))
524
525
526def log_shell_welcome_msg():

Callers 1

removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected