code: def relpath_posix(recwalk_result, pardir, fromwinpath=False):
      ''' Helper function to convert all paths to relative posix like paths (to ease comparison) '''
      return recwalk_result[0], path2unix(os.path.join(os.path.relpath(recwalk_result[0], pardir),recwalk_result[1]), nojoin=True, fromwinpath=fromwinpathf relpath_posix(recwalk_result, pardir, fromwinpath=False):
      ''' Helper function to convert all paths to relative posix like paths (to ease comparison) '''
      return recwalk_result[0], path2unix(os.path.join(os.path.relpath(recwalk_result[0], pardir),recwalk_result[1]), nojoin=True, fromwinpath=fromwinpath)
docs: Helper function to convert all paths to relative posix like paths (to ease comparison)