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