monochromatic-git-policy-cli 0.6.0

Repository-owned Git policy wrapper: forwards Git commands and checks commits against configured policies.
//! What:
//!  Package-manager and toolchain repair after a worktree is created.
//! Why:
//!  Repair runs after worktree creation and has its own report.
//!
//! In TS you'd write (pseudocode):
//! ```ts
//! // repair/index.ts: one `export * from './file'` per module below.
//! ```

/// Starting one package-manager program for a worktree repair: finding it, running it with a limit, saying how it ended.
#[cfg(target_os = "linux")]
pub mod package_repair_command;

/// What a worktree repair prints: one line for success, one plain line per repair that could not finish.
#[cfg(target_os = "linux")]
pub mod package_repair_report;

/// Cloning one directory tree with its modes, times and links, for the build state Cargo keeps outside a worktree.
#[cfg(target_os = "linux")]
pub mod package_repair_tree_clone;

/// The pnpm repair of a new worktree: relink the copied `node_modules` offline against the frozen lockfile.
#[cfg(target_os = "linux")]
pub mod package_repair_pnpm;

/// The Cargo repair of a new worktree: clone external build state, then clean the worktree's own crates.
#[cfg(target_os = "linux")]
pub mod package_repair_cargo;

/// The runner that does one job for every item of a list on several threads.
pub mod package_repair_cargo_concurrent;

/// The reading of `Cargo.lock` before a clean and its restoring afterwards.
pub mod package_repair_cargo_lock;

/// The Cargo workspaces of a new worktree and the manifests that lead to them.
pub mod package_repair_cargo_workspaces;

/// The toolchain repair of a new worktree: rebuild the links and launchers that name another checkout's lock.
#[cfg(target_os = "linux")]
pub mod package_repair_toolchain;

/// The repair of a new worktree's package-manager state after a rung filled it and the ignored files were copied.
#[cfg(target_os = "linux")]
pub mod package_repair;

/// What a repair reads and is asked:
///  the person's switches, what the process offers, and the request that holds both.
pub mod package_repair_request;