code: def test_ls_dirty(tmp_dir, dvc):
      tmp_dir.dvc_gen({"data": "data"})
      (tmp_dir / "data").unlink()
  
      tmp_dir.gen({"data": {"foo": "foo", "bar": "bar"}})
  
      fs = DVCFileSystem(repo=dvc)
      assert set(fs.ls("data")) == {"data/foo", "data/bar"}
  
imports: import os
  import posixpath
  import shutil
  import pytest
  from fsspec.utils import tokenize
  from dvc.fs import localfs
  from dvc.fs.dvc import DVCFileSystem
  from dvc.testing.tmp_dir import make_subrepo
  from dvc_data.hashfile.build import build
  from dvc_data.hashfile.hash_info import HashInfo
label_desc: Use image node_id 9 for calling a global function with example usage: test_ls_dirty(tmp_dir, dvc) without return types