We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8204e44 commit 664f74cCopy full SHA for 664f74c
src/path/ft.rs
@@ -32,7 +32,7 @@ impl FileType {
32
if file_type.is_dir() {
33
return Ok(FileType::Dir);
34
}
35
- if path.is_file() {
+ if file_type.is_file() {
36
return Ok(FileType::File);
37
38
Ok(FileType::Symlink)
0 commit comments