class_docstr: Stores artifacts as files in a local directory.
code: def list_artifacts(self, path=None):
      # NOTE: The path is expected to be in posix format.
      # Posix paths work fine on windows but just in case we normalize it here.
      if path:
          path = os.path.normpath(path)
      list_dir = (
          os.path.join(self.artifact_dir, path)
          if path
          else self.artifact_dir
      )
      if os.path.isdir(list_dir):
          artifact_files = list_all(list_dir, full_path=True)
          infos = [
              get_file_info(
                  f,
                  relative_path_to_artifact_path(
                      os.path.relpath(f, self.artifact_dir)
                  ),
              )
              for f in artifact_files
          ]
          return sorted(infos, key=lambda f: f.path)
      else:
          return []
  
file_path: mlflow/mlflow/store/artifact/local_artifact_repo.py
imports: import os
  import shutil
  from mlflow.store.artifact.artifact_repo import ArtifactRepository, verify_artifact_path
  from mlflow.utils.file_utils import get_file_info, list_all, local_file_uri_to_path, mkdir, relative_path_to_artifact_path
label_desc: Use image node_id 7 for calling the LocalArtifactRepository obj's underlying member method code with example usage: obj.list_artifacts(path) and returns: sorted, list