Skip to main content

Module state

Module state 

Source
Expand description

State types for gw CLI

Re-exports§

pub use next_action::NextAction;
pub use repo::RepoType;
pub use sync::SyncState;
pub use working_dir::WorkingDirState;

Modules§

next_action
Next action detection for workflow automation
repo
Repository type detection (main repo vs worktree)
sync
Sync state with remote
working_dir
Working directory state

Structs§

Branch
A branch with compile-time safety for deletion
Deletable
Marker type for deletable branches
Protected
Marker type for protected branches (main, master, home)

Enums§

BranchClassification
Result of classifying a branch

Functions§

classify_branch
Classify a branch as protected or deletable