Skip to main content

Module clean

Module clean 

Source

Structs§

CleanCandidate
DirtyWorktree
RemoveOutput

Functions§

candidates
diagnose_worktree
parse_older_than
Parse an –older-than threshold into a UTC DateTime. Accepts “Nd” (N days ago) or “YYYY-MM-DD” (ISO date).
remote_only_candidates
Find ticket branches that exist on origin but have no local head. For each, look up the ticket file on the default branch (in tickets/ first, then archive_dir/) and accept it as a candidate if its state is terminal. These are pure remote-deletion candidates: no worktree, no local branch.
remove
remove_untracked