code: def list_dir_all(cookie, tokens, path):
      '''得到一个目录中所有文件的信息, 并返回它的文件列表'''
      pcs_files = []
      page = 1
      while True:
          content = list_dir(cookie, tokens, path, page)
          if not content:
              return (path, None)
          if not content['list']:
              return (path, pcs_files)
          pcs_files.extend(content['list'])
          page = page + f list_dir_all(cookie, tokens, path):
      '''得到一个目录中所有文件的信息, 并返回它的文件列表'''
      pcs_files = []
      page = 1
      while True:
          content = list_dir(cookie, tokens, path, page)
          if not content:
              return (path, None)
          if not content['list']:
              return (path, pcs_files)
          pcs_files.extend(content['list'])
          page = page + 1
docs: 得到一个目录中所有文件的信息, 并返回它的文件列表