Skip to content

Commit

Permalink
adapt to changes in gix-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 18, 2024
1 parent f7ffb91 commit a49c960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitoxide-core/src/repository/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub(crate) mod function {
.join(gix::path::from_bstr(entry.rela_path.as_bstr()))
.metadata()
.ok()
.map(|e| e.file_type().into());
.and_then(|e| gix::dir::entry::Kind::try_from_file_type(e.file_type()));
}
let mut disk_kind = entry.disk_kind.expect("present if not pruned");
if !keep {
Expand Down

0 comments on commit a49c960

Please sign in to comment.