code: def test_ls_repo_with_path_dir(tmp_dir, dvc, scm):
      tmp_dir.scm_gen(FS_STRUCTURE, commit="init")
      tmp_dir.dvc_gen(DVC_STRUCTURE, commit="dvc")
  
      files = Repo.ls(os.fspath(tmp_dir), path="model")
      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 7 for calling a global function with example usage: test_ls_repo_with_path_dir(tmp_dir, dvc, scm) without return types