def nlinks_file(path):
 if iswindows:
  return windows_nlinks(path)
 return os.stat(path).st_nlink

def nlinks_file ( path ) : if iswindows : return windows_nlinks ( path ) return os . stat ( path ) . st_nlink
return number of hardlinks to the file .