Expand description
Multi-repo/worktree manager for the Synwire daemon.
RepoManager is the central coordinator that tracks active worktrees,
registers new projects by computing their WorktreeId, and evicts idle
entries via an LRU policy when the active set exceeds the configured limit.
§Thread safety
All public types are Send + Sync. Interior state is protected by
tokio::sync::RwLock so that concurrent tasks can safely register,
access, and evict worktrees without blocking one another for reads.
Structs§
- Repo
Manager - Manages the set of active repositories and worktrees for the daemon.
- Worktree
Handle - Per-worktree state tracked by the
RepoManager.
Enums§
- Manager
Error - Errors produced by the
RepoManager. - Worktree
Status - Runtime status of a managed worktree.