Skip to main content

Module output

Module output 

Source

Functions§

clean_path
Helper to strip Windows UNC \\?\ prefix, macOS /private/ prefix, and collapse double slashes.
create_spinner
Create an animated terminal loading spinner for long-running operations.
format_bytes
Format bytes into human-readable string (e.g., “1.2 GB”, “450 MB”)
plural
Pick the singular or plural form for a count.
print_banner
Print the dev-prune ASCII art banner
print_error
Print an error message (red X)
print_header
Print a section header
print_info
Print an info message (blue arrow)
print_notice
Print a notice to stderr.
print_success
Print a success message (green checkmark)
print_warning
Print a warning message (yellow exclamation)