code: def stat(path):
      hfile = CreateFile(
          path,
          FILE_READ_ATTRIBUTES,
          0,
          None,
          OPEN_EXISTING,
          FILE_ATTRIBUTE_NORMAL
          | FILE_FLAG_BACKUP_SEMANTICS
          | FILE_FLAG_OPEN_REPARSE_POINT,
          None,
      )
      if hfile == INVALID_HANDLE_VALUE:
          raise ctypes.WinError
      info = BY_HANDLE_FILE_INFORMATION()
      r = GetFileInformationByHandle(hfile, info)
      CloseHandle(hfile)
      if not r:
          raise ctypes.WinError
      return StatResult(
          st_dev=info.dwVolumeSerialNumber,
          st_ino=(info.nFileIndexHigh << 32) + info.nFileIndexLow,
          st_mode=_to_mode(info.dwFileAttributes),
          st_mtime=_to_unix_time(info.ftLastWriteTime),
      )
  
file_path: wandb/wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/win32stat.py
imports: import ctypes
  import ctypes.wintypes
  import stat
  from collections import namedtuple
label_desc: Use image node_id 3 for calling a global function with example usage: stat(path) and returns: StatResult