def ls(path):
  result = []
  for dirpath, _, files in os.walk(path):
    for f in files:
      result.append(os.path.join(dirpath, f)[len(path) + 1:])
  return result
A hook to alter list data just before it gets serialized & sent to the user.
dataset/ETHPy150Open adblockplus/gyp/test/mac/gyptest-framework.py/ls--crossover with--dataset/ETHPy150Open toastdriven/piecrust/piecrust/resources.py/Resource.alter_list_data_to_serialize