pub trait RepoLayout {
// Required method
fn common_dir(&self) -> Result<PathBuf, EngineError>;
}Expand description
Where this repository’s differential state lives. Path policy is domain
(plan::grouping_cache_dir, plan::review_dir); this only says where the
repository keeps its shared git directory.
Required Methods§
Sourcefn common_dir(&self) -> Result<PathBuf, EngineError>
fn common_dir(&self) -> Result<PathBuf, EngineError>
The shared git directory, absolutised (worktree-safe).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".