mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 10:37:01 +05:30
fix: run rustfmt
This commit is contained in:
parent
088c55df6d
commit
dd8c0b5b49
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,10 @@ use walkdir::WalkDir;
|
|||
|
||||
pub(crate) fn freeze_repos(dir: &str) -> anyhow::Result<()> {
|
||||
let mut repos: HashMap<String, PersistableRepo> = HashMap::new();
|
||||
for entry in WalkDir::new(dir).into_iter().filter_map(std::result::Result::ok) {
|
||||
for entry in WalkDir::new(dir)
|
||||
.into_iter()
|
||||
.filter_map(std::result::Result::ok)
|
||||
{
|
||||
if entry.file_type().is_dir() {
|
||||
let path = format!("{}/.git", entry.path().display());
|
||||
let git_dir = Path::new(&path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue