Fix Windows file metadata docs
Retrieving file metadata on Windows now uses GetFileInformationByHandle not GetFileAttributesEx
This commit is contained in:
parent
12cd71f4d3
commit
0835dfe579
|
@ -1620,7 +1620,7 @@ pub fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> {
|
||||||
/// # Platform-specific behavior
|
/// # Platform-specific behavior
|
||||||
///
|
///
|
||||||
/// This function currently corresponds to the `stat` function on Unix
|
/// This function currently corresponds to the `stat` function on Unix
|
||||||
/// and the `GetFileAttributesEx` function on Windows.
|
/// and the `GetFileInformationByHandle` function on Windows.
|
||||||
/// Note that, this [may change in the future][changes].
|
/// Note that, this [may change in the future][changes].
|
||||||
///
|
///
|
||||||
/// [changes]: io#platform-specific-behavior
|
/// [changes]: io#platform-specific-behavior
|
||||||
|
@ -1654,7 +1654,7 @@ pub fn metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
|
||||||
/// # Platform-specific behavior
|
/// # Platform-specific behavior
|
||||||
///
|
///
|
||||||
/// This function currently corresponds to the `lstat` function on Unix
|
/// This function currently corresponds to the `lstat` function on Unix
|
||||||
/// and the `GetFileAttributesEx` function on Windows.
|
/// and the `GetFileInformationByHandle` function on Windows.
|
||||||
/// Note that, this [may change in the future][changes].
|
/// Note that, this [may change in the future][changes].
|
||||||
///
|
///
|
||||||
/// [changes]: io#platform-specific-behavior
|
/// [changes]: io#platform-specific-behavior
|
||||||
|
|
Loading…
Reference in a new issue