mercurial/pure/osutil.py
changeset 34645 75979c8d4572
parent 32512 0e8b0b9a7acc
child 38783 e7aa113b14f7
equal deleted inserted replaced
34644:c0a6c19690ff 34645:75979c8d4572
    62             result.append((fn, _mode_to_kind(st.st_mode), st))
    62             result.append((fn, _mode_to_kind(st.st_mode), st))
    63         else:
    63         else:
    64             result.append((fn, _mode_to_kind(st.st_mode)))
    64             result.append((fn, _mode_to_kind(st.st_mode)))
    65     return result
    65     return result
    66 
    66 
    67 if pycompat.osname != 'nt':
    67 if not pycompat.iswindows:
    68     posixfile = open
    68     posixfile = open
    69 
    69 
    70     _SCM_RIGHTS = 0x01
    70     _SCM_RIGHTS = 0x01
    71     _socklen_t = ctypes.c_uint
    71     _socklen_t = ctypes.c_uint
    72 
    72