code: def _copy_or_link_project_file(dep, state):
      dep_path = os.path.join(state.project_dir, dep)
      if _can_copy_dep(dep_path):
          _copy_project_file(dep_path, dep, state)
      else:
          _link_project_file(dep_path, dep, state)
  
imports: import argparse
  import logging
  import os
  import subprocess
  import yaml
  from guild import op_util
  from guild import run
  from guild import run_manifest
  from guild import summary
  from guild import util
  from .None import dvc_util
label_desc: Use image node_id 23 for calling a global function with example usage: _copy_or_link_project_file(dep, state) without return types