| 706 | } |
| 707 | |
| 708 | static bool runtime_windows_file_snapshot_same(const BY_HANDLE_FILE_INFORMATION *first_information, |
| 709 | const LARGE_INTEGER *first_size, |
| 710 | const BY_HANDLE_FILE_INFORMATION *second_information, |
| 711 | const LARGE_INTEGER *second_size) { |
| 712 | return first_information && first_size && second_information && second_size && |
| 713 | first_information->dwVolumeSerialNumber == second_information->dwVolumeSerialNumber && |
| 714 | first_information->nFileIndexHigh == second_information->nFileIndexHigh && |
| 715 | first_information->nFileIndexLow == second_information->nFileIndexLow && |
| 716 | first_size->QuadPart == second_size->QuadPart && |
| 717 | CompareFileTime(&first_information->ftLastWriteTime, |
| 718 | &second_information->ftLastWriteTime) == 0; |
| 719 | } |
| 720 | |
| 721 | #elif defined(__APPLE__) |
| 722 |
no outgoing calls
no test coverage detected