code: def match_files(fs, entries, expected):
      entries_content = {
          (fs.normpath(d["path"]), d["isdir"]) for d in entries
      }
      expected_content = {
          (fs.normpath(d["path"]), d["isdir"]) for d in expected
      }
      assert entries_content == expected_content
  
imports: import os
  from typing import Dict, Union
  import pytest
  from funcy import first
  from dvc.exceptions import URLMissingError
  from dvc.repo import Repo
  from dvc.repo.ls_url import ls_url, parse_external_url
  from dvc.utils.fs import remove
label_desc: Use image node_id 1 for calling a global function with example usage: match_files(fs, entries, expected) without return types