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 29601d9 commit 128bf62Copy full SHA for 128bf62
file-id/src/lib.rs
@@ -129,15 +129,15 @@ pub fn get_file_id(path: impl AsRef<Path>) -> io::Result<FileId> {
129
pub fn get_low_res_file_id(path: impl AsRef<Path>) -> io::Result<FileId> {
130
let file = open_file(path)?;
131
132
- unsafe { get_file_info_ex(&file) }
+ unsafe { get_file_info(&file) }
133
}
134
135
/// Get the `FileId` with the high resolution variant for the file or directory at `path`
136
#[cfg(target_family = "windows")]
137
pub fn get_high_res_file_id(path: impl AsRef<Path>) -> io::Result<FileId> {
138
139
140
- unsafe { get_file_info(&file) }
+ unsafe { get_file_info_ex(&file) }
141
142
143
0 commit comments