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.
2 parents 8204e44 + 664f74c commit 2b706adCopy full SHA for 2b706ad
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