code: def hadoop_ls(path: str) -> List[Dict[str, Any]]:
      """Returns information about files at `path`.
  
      Notes
      -----
      Raises an error if `path` does not exist.
  
      If `path` is a file, returns a list with one element. If `path` is a
      directory, returns an element for each file contained in `path` (does not
      search recursively).
  
      Each dict element of the result list contains the following data:
  
      - is_dir (:obj:`bool`) -- Path is a directory.
      - size_bytes (:obj:`int`) -- Size in bytes.
      - size (:class:`str`) -- Size as a readable string.
      - modification_time (:class:`str`) -- Time of last file modification.
      - owner (:class:`str`) -- Owner.
      - path (:class:`str`) -- Path.
  
      Parameters
      ----------
      path : :class:`str`
  
      Returns
      -------
      :obj:`list` [:obj:`dict`]
      """
      return [sr.to_legacy_dict() for sr in Env.fs().ls(path)]
  
file_path: hail/hail/python/hail/utils/hadoop_utils.py
imports: import gzip
  import io
  import os.path
  import sys
  from typing import Any, Dict, List
  from hail.fs.hadoop_fs import HadoopFS
  from hail.utils import local_path_uri
  from hail.utils.java import Env, info
  from hail.typecheck import typecheck, enumeration
label_desc: Use image node_id 7 for calling a global function with example usage: hadoop_ls(path) and returns: unknown