code: def _get_info_dir():
      """Get path to directory in which to store info files.
  
      The directory returned by this function is "owned" by this module. If
      the contents of the directory are modified other than via the public
      functions of this module, subsequent behavior is undefined.
  
      The directory will be created if it does not exist.
      """
      path = os.path.join(tempfile.gettempdir(), ".tensorboard-info")
      try:
          os.makedirs(path)
      except OSError as e:
          if e.errno == errno.EEXIST and os.path.isdir(path):
              pass
          else:
              raise
      else:
          os.chmod(path, 0o777)
      return path
  
imports: import base64
  import dataclasses
  import datetime
  import errno
  import json
  import os
  import subprocess
  import tempfile
  import time
  import typing
  from typing import Optional
  from tensorboard import version
  from tensorboard.util import tb_logging
label_desc: Use image node_id 5 for calling a global function with example usage: _get_info_dir() and returns: path