code: def test_get_content_info_dotgit(path=None):
      ds = Dataset(path).create()
      # Files in .git/ won't be reported, though this takes a kludge on our side
      # before Git 2.25.
      assert_false(
          ds.repo.get_content_info(paths=[op.join(".git", "config")])
      )
  
file_path: datalad/datalad/support/tests/test_fileinfo.py
imports: import os.path
  from pathlib import Path
  import datalad.utils
  from datalad.distribution.dataset import Dataset
  from datalad.support.exceptions import NoSuchPathError
  from datalad.support.gitrepo import GitRepo
  from datalad.tests.utils_pytest import assert_dict_equal, assert_equal, assert_false, assert_in, assert_not_in, assert_raises, assert_repo_status, get_annexstatus, get_convoluted_situation, known_failure_githubci_win, on_nfs, on_travis, slow, skip_if, with_tempfile, with_tree
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_content_info_dotgit(path) without return types