Documentation
¶
Overview ¶
Package nuke provides discovery and deletion logic for the 'devx nuke' command. It detects project ecosystems, collects caches/build artifacts/devx resources, and presents a pre-flight manifest with disk sizes before performing any deletions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatBytes ¶
FormatBytes formats a byte count as a human-readable string (exported for cmd use).
Types ¶
type Item ¶
type Item struct {
Category string // e.g. "Node.js", "Go", "devx"
Label string // human-readable name ("node_modules", "postgres container")
Path string // filesystem path, or empty for container/volume items
SizeBytes int64
SizeDisplay string // pre-formatted (e.g. "1.2 GB", "container")
Kind string // "dir", "file", "container", "volume"
}
Item represents a single resource that will be deleted by devx nuke.
Click to show internal directories.
Click to hide internal directories.