docstr: Create supporting files in the cache dir that are not really part of the cache.
docstr_tok: ["Create","supporting","files","in","the","cache","dir","that","are","not","really","part","of","the","cache","."]
code: def _ensure_supporting_files(self):
      """Create supporting files in the cache dir that are not really part of the cache."""
      readme_path = self._cachedir / "README.md"
      readme_path.write_text(README_CONTENT)
  
      gitignore_path = self._cachedir.joinpath(".gitignore")
      msg = "# Created by pytest automatically.\n*"
      gitignore_path.write_text(msg, encoding="UTF-8")
  
      cachedir_tag_path = self._cachedir.joinpath("CACHEDIR.TAG")
      cachedir_tag_path.write_bytes(CACHEDIR_TAG_CONTENT)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import os
  from collections import OrderedDict
  import attr
  import py
  import six
  import pytest
  from .compat import _PY2
  from .pathlib import Path
  from .pathlib import resolve_from_str
  from .pathlib import rm_rf
label_desc: Use image node_id 8 for calling the Cache obj's underlying member method code with example usage: obj._ensure_supporting_files() without return types