code: def _init_env(path, guild_home, local_resource_cache):
      guild_dir = os.path.join(path, ".guild")
      if guild_home:
          _link_guild_dir(guild_home, guild_dir)
      else:
          init_guild_dir(guild_dir, local_resource_cache)
  
imports: import errno
  import logging
  import os
  from guild import guildfile
  from guild import util
label_desc: Use image node_id 2 for calling a global function with example usage: _init_env(path, guild_home, local_resource_cache) without return types