pyarrow.HadoopFileSystem.ls# HadoopFileSystem.ls(path, detail=False)[source]# Retrieve directory contents and metadata, if requested. Parameters: pathstrHDFS path to retrieve contents of. detailbool, default FalseIf False, only return list of paths. Returns: resultlist of dicts (detail=True) or strings (detail=False)