use std::path::PathBuf; pub struct RepoMan { pub storage_root: PathBuf, } pub fn new(root: String) -> RepoMan { RepoMan { storage_root: PathBuf::from(root), } }