Function
log_removal_finished
(all_links: int, to_remove: int)
Source from the content-addressed store, hash-verified
| 510 | raise SystemExit(0) |
| 511 | |
| 512 | def 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 | |
| 526 | def log_shell_welcome_msg(): |
Tested by
no test coverage detected