Truncate path
This commit is contained in:
parent
3926989254
commit
d41cbe968b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user