Skip to content

Commit a33b624

Browse files
committed
adapt to changes in gix-dir
1 parent 37da7cd commit a33b624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitoxide-core/src/repository/clean.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ pub(crate) mod function {
163163
.join(gix::path::from_bstr(entry.rela_path.as_bstr()))
164164
.metadata()
165165
.ok()
166-
.map(|e| e.file_type().into());
166+
.and_then(|e| gix::dir::entry::Kind::try_from_file_type(e.file_type()));
167167
}
168168
let mut disk_kind = entry.disk_kind.expect("present if not pruned");
169169
if !keep {

0 commit comments

Comments
 (0)