Skip to main content

Module reset

Module reset 

Source
Expand description

Reset subcommand handler and helper utilities.

Functions§

bytes_human
Format bytes as a human-readable string.
dir_size_bytes
Calculate total bytes in a directory or file.
dir_size_human
Calculate a human-readable directory or file size.
display_path
Display path with ~/ abbreviation for home directory.
handle_reset
Handle oxi reset [--yes] [--include-project]
remove_path
Remove a file or directory (including all contents).
walkdir_recursive
Walk a directory recursively, collecting all file paths.