code: def init_guild_dir(path, local_resource_cache=False):
      util.ensure_dir(path)
      util.touch(os.path.join(path, ".guild-nocopy"))
      util.ensure_dir(os.path.join(path, "runs"))
      util.ensure_dir(os.path.join(path, "trash"))
      util.ensure_dir(os.path.join(path, "cache", "runs"))
      _init_resource_cache(path, local_resource_cache)
  
imports: import errno
  import logging
  import os
  from guild import guildfile
  from guild import util
label_desc: Use image node_id 4 for calling a global function with example usage: init_guild_dir(path, local_resource_cache) without return types