0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-24 06:02:18 -05:00

Add a Microsoft source to comment

This commit is contained in:
Lukasz Czerniawski 2024-08-02 17:50:30 +02:00
parent 68b5dd6eac
commit ba32d4a29d

View file

@ -856,7 +856,7 @@ fn stat_extra(
// If error more data is returned, then it means that the buffer is too small to get full filename information // If error more data is returned, then it means that the buffer is too small to get full filename information
// to have that we should retry. However, since we only use BasicInformation and StandardInformation, it is fine to ignore it // to have that we should retry. However, since we only use BasicInformation and StandardInformation, it is fine to ignore it
// since struct is populated with other data anyway. // since struct is populated with other data anyway.
/// https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntqueryinformationfile#remarks /// https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntqueryinformationfile#remarksdd
if converted_status != ERROR_MORE_DATA { if converted_status != ERROR_MORE_DATA {
return Err(converted_status as NTSTATUS); return Err(converted_status as NTSTATUS);