internal/

directory
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: GPL-3.0

Directories

Path Synopsis
Package appindex builds and holds the index of installed macOS applications that CleanX's detection engine consults to decide whether a Library item belongs to an app that is still present.
Package appindex builds and holds the index of installed macOS applications that CleanX's detection engine consults to decide whether a Library item belongs to an app that is still present.
Package cleaner performs the actual deletion of selected leftover groups and reports how much space was reclaimed.
Package cleaner performs the actual deletion of selected leftover groups and reports how much space was reclaimed.
Package config holds the static configuration that drives CleanX's leftover detection: which directories to scan, which patterns to protect, how folder and bundle-ID names map to applications, and the age thresholds that gate deletion.
Package config holds the static configuration that drives CleanX's leftover detection: which directories to scan, which patterns to protect, how folder and bundle-ID names map to applications, and the age thresholds that gate deletion.
Package detect implements CleanX's leftover-attribution logic: given a filesystem component name (a folder, a plist, a bundle-ID directory) it decides whether that component belongs to a currently installed app, and whether it is a *confirmed leftover* of an uninstalled one.
Package detect implements CleanX's leftover-attribution logic: given a filesystem component name (a folder, a plist, a bundle-ID directory) it decides whether that component belongs to a currently installed app, and whether it is a *confirmed leftover* of an uninstalled one.
Package humanize formats byte/kilobyte quantities for display in the CLI and TUI.
Package humanize formats byte/kilobyte quantities for display in the CLI and TUI.
Package osprobe provides the production implementation of scan.Probes: the real filesystem and system interactions the scanner needs on macOS.
Package osprobe provides the production implementation of scan.Probes: the real filesystem and system interactions the scanner needs on macOS.
Package scan walks the configured Library and developer directories, applies CleanX's safety gates (installed / in-use / staleness, via package detect), and groups the surviving leftovers by vendor for presentation and deletion.
Package scan walks the configured Library and developer directories, applies CleanX's safety gates (installed / in-use / staleness, via package detect), and groups the surviving leftovers by vendor for presentation and deletion.
Package tmutil lists and deletes local Time Machine snapshots via the macOS `tmutil` command.
Package tmutil lists and deletes local Time Machine snapshots via the macOS `tmutil` command.
Package toolclean discovers developer tools present on the machine and runs each tool's own cache-cleanup command (e.g.
Package toolclean discovers developer tools present on the machine and runs each tool's own cache-cleanup command (e.g.
Package tui implements CleanX's Bubble Tea terminal UI, replacing the raw ANSI escape sequences of the reference script with a proper full-screen, terminal-agnostic interface.
Package tui implements CleanX's Bubble Tea terminal UI, replacing the raw ANSI escape sequences of the reference script with a proper full-screen, terminal-agnostic interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL