mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
cargo fmt
This commit is contained in:
parent
12d454b08a
commit
1def5fba06
@ -76,12 +76,11 @@ impl FileVisibilityPolicy {
|
|||||||
.git_ignore(self.read_git_ignore)
|
.git_ignore(self.read_git_ignore)
|
||||||
.ignore(self.read_ignore)
|
.ignore(self.read_ignore)
|
||||||
.hidden(self.read_hidden);
|
.hidden(self.read_hidden);
|
||||||
|
|
||||||
if self.read_git_ignore {
|
if self.read_git_ignore {
|
||||||
builder.filter_entry(|p| p.path().file_name() != Some(OsStr::new(".git")));
|
builder.filter_entry(|p| p.path().file_name() != Some(OsStr::new(".git")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
builder.build()
|
builder.build()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user