]> git.lizzy.rs Git - rust.git/commit
Possible errors when reading file metadata are platform specific
authorChris Denton <christophersdenton@gmail.com>
Thu, 27 May 2021 21:06:56 +0000 (22:06 +0100)
committerChris Denton <christophersdenton@gmail.com>
Thu, 27 May 2021 21:06:56 +0000 (22:06 +0100)
commit536d98238c8d1e63c316708d082bce063f1c3f84
tree334f023ef323a7da70dcd44c0fb3d51e87ba44fb
parent8d1e3d3b74fa80ce14af6ec143f061897684582b
Possible errors when reading file metadata are platform specific

In particular the `is_dir`, `is_file` and `exists` functions says that querying a file requires querying the directory. On Windows this is not normally true.
library/std/src/path.rs