Truncate path

This commit is contained in:
Greg Shuflin 2024-10-17 01:43:40 -07:00
parent 3926989254
commit d41cbe968b

View File

@ -65,6 +65,7 @@ fn list_repos(directory: PathBuf) -> Result<(), std::io::Error> {
let repo_paths = gather_repos(&start, 0)?;
for path in &repo_paths {
let path = path.strip_prefix(&start).unwrap();
println!("Repository: {}", path.display().to_string().yellow());
/*
let indent = recurse_level * INDENT_INCREMENT;