Ryan Liptak 11a398af3e File.stat: Support detection of Kind.sym_link on Windows
Requires an extra NtQueryInformationFile call when FILE_ATTRIBUTE_REPARSE_POINT is set to determine if it's actually a symlink or some other kind of reparse point (https://learn.microsoft.com/en-us/windows/win32/fileio/reparse-point-tags). This is something that `File.Metadata.kind` was already doing, so the same technique is used in `stat`.

Also, replace the std.os.windows.DeviceIoControl call in `metadata` with NtQueryInformationFile (NtQueryInformationFile is what gets called during kernel32.GetFileInformationByHandleEx with FileAttributeTagInfo, verified using NtTrace).
2023-12-19 23:36:23 -08:00
..
2023-11-25 12:28:19 +02:00
2023-11-22 19:08:55 -07:00
2023-11-22 13:24:27 -05:00
2023-11-22 13:24:27 -05:00
2023-12-19 12:01:09 -07:00
2023-11-26 14:28:22 -05:00
2023-11-22 13:24:27 -05:00
2023-11-22 19:08:55 -07:00
2023-11-25 12:28:19 +02:00
2023-10-23 22:42:18 -04:00
2023-10-02 15:31:49 -06:00
2023-11-09 17:41:14 +01:00
2023-11-22 15:24:57 -07:00
2023-11-22 13:24:27 -05:00
2023-10-31 21:37:35 -04:00
2023-10-25 04:28:30 -04:00
2023-11-03 23:18:21 -04:00
2023-12-11 17:48:18 +02:00
2023-11-19 09:55:07 +00:00
2023-11-22 13:24:27 -05:00
2023-10-27 03:33:49 -04:00
2023-11-22 13:24:27 -05:00
2023-11-22 19:08:55 -07:00
2023-11-22 07:40:30 +00:00
2023-10-21 21:24:55 +00:00
2023-10-21 21:24:55 +00:00