Trait amisgitpm::dirs::Directories
source · pub trait Directorieswhere
Self: Sized,{
type Error: Error;
fn new() -> Result<Self, Self::Error>;
fn projects_db(&self) -> PathBuf;
fn src(&self) -> PathBuf;
fn git(&self) -> PathBuf;
fn old(&self) -> PathBuf;
}
Expand description
A trait to standarize the directories that are used in the crate
Required Associated Types§
Required Methods§
sourcefn projects_db(&self) -> PathBuf
fn projects_db(&self) -> PathBuf
where to look path for a projects db.