code: def test_get_hash_file(tmp_dir, dvc):
      tmp_dir.dvc_gen({"foo": "foo"})
      fs = DataFileSystem(index=dvc.index.data["repo"])
      assert fs.info("foo")["md5"] == "acbd18db4cc2f85cedef654fccc4a4d8"
  
imports: import posixpath
  import shutil
  import pytest
  import dvc_data
  from dvc.fs import localfs
  from dvc.fs.data import DataFileSystem
  from dvc.utils.fs import remove
  from dvc_data.hashfile.build import build
  from dvc_data.hashfile.hash_info import HashInfo
label_desc: Use image node_id 14 for calling a global function with example usage: test_get_hash_file(tmp_dir, dvc) without return types