Expand description
Shared pieces of xil remove-show and xil remove-episode: the removal
item model, size formatting, and deletion.
Structs§
Enums§
Functions§
- delete
- Delete every existing item, logging each removal. Returns files removed.
- fmt_
bytes _fmt_bytes: B / KB / MB / GB with Python’s.1f/.2frounding.- input
- Python
input(prompt).strip(): prompt to stdout without a newline, one line from stdin. Empty string on EOF. - rel_
display item.path.relative_to(root)with the same fallback to the full path.- walk_
files 🔒