mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +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)
|
||||
.ignore(self.read_ignore)
|
||||
.hidden(self.read_hidden);
|
||||
|
||||
|
||||
if self.read_git_ignore {
|
||||
builder.filter_entry(|p| p.path().file_name() != Some(OsStr::new(".git")));
|
||||
}
|
||||
|
||||
|
||||
builder.build()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user