code: def test_ls_remote_repo_with_path_dir(erepo_dir):
      with erepo_dir.chdir():
          erepo_dir.scm_gen(FS_STRUCTURE, commit="init")
          erepo_dir.dvc_gen(DVC_STRUCTURE, commit="dvc")
  
      url = f"file://{erepo_dir.as_posix()}"
      path = "model"
      files = Repo.ls(url, path)
      match_files(
          files,
          (
              (("script.py",), False),
              (("train.py",), False),
              (("people.csv",), True),
              (("people.csv.dvc",), False),
              ((".gitignore",), False),
          ),
      )
  
imports: import os
  import shutil
  import textwrap
  from operator import itemgetter
  import pytest
  from dvc.repo import Repo
  from dvc.scm import CloneError
label_desc: Use image node_id 24 for calling a global function with example usage: test_ls_remote_repo_with_path_dir(erepo_dir) without return types