I noticed that your Windows implementation of DirExt::access just tries opening the file.
I understand if _access, _waccess, t_access or _access_s, _waccess_s, _taccess_s from the Microsoft C Runtime impose additional dependencies you want to avoid, and that the Win32 API-native version's overcomplicated credentials blow up to six pages in the faccess crate's Windows implementation (Link to the source file, MIT-licensed) once you address various edge cases.
However, I was unable to find any clear documentation for the rationale behind that. (Which I'm guessing is "auditing burden".)
Could that be improved, please?
I noticed that your Windows implementation of
DirExt::accessjust tries opening the file.I understand if _access, _waccess, t_access or _access_s, _waccess_s, _taccess_s from the Microsoft C Runtime impose additional dependencies you want to avoid, and that the Win32 API-native version's overcomplicated credentials blow up to six pages in the faccess crate's Windows implementation (Link to the source file, MIT-licensed) once you address various edge cases.
However, I was unable to find any clear documentation for the rationale behind that. (Which I'm guessing is "auditing burden".)
Could that be improved, please?