Skip to main content

Module workspace

Module workspace 

Source
Expand description

Goal workspace management. Supports a git-worktree mode on top of the plain mkdir + traversal-guard surface.

Re-exports§

pub use manager::GitWorktreeMode;
pub use manager::WorkspaceManager;

Modules§

git
Thin shell-out helpers around git. Each helper wraps a single command, sets GIT_AUTHOR/COMMITTER env so commits don’t fail when the operator’s repo lacks user.email, and maps non-zero exits + timeouts to DriverError::Workspace.
manager
WorkspaceManager — resolve, mkdir, optionally checkout into a git worktree, and provide checkpoint / rollback / diff_stat helpers used by the driver loop.