Skip to main content

Module cleanup

Module cleanup 

Source
Expand description

PR cleanup domain types and service.

Provides argument and result types for the gf pr cleanup command, plus the CleanupService that coordinates branch and worktree cleanup.

Structs§

CleanupArgs
Arguments for the gf pr cleanup command.
CleanupResult
Result of cleaning up a single PR.
CleanupService
Service for coordinating PR cleanup operations.

Functions§

check_safety
Perform safety checks before cleaning up a PR.
is_protected_branch
Check if a branch name matches common protected branch patterns.