use std::path::{Path, PathBuf};
#[non_exhaustive]
#[derive(Debug, Clone)]
pub struct Context {
pub repo_root: PathBuf,
}
impl Context {
pub fn new(repo_root: impl Into<PathBuf>) -> Self {
Self {
repo_root: repo_root.into(),
}
}
pub fn root(&self) -> &Path {
&self.repo_root
}
}