code: def _select_file_to_copy(src, relpath, select, ignore):
      if relpath in ignore:
          return _ignored_path_select_result(relpath)
      return select.select_file(src, relpath)
  
imports: import fnmatch
  import glob
  import logging
  import os
  import re
  import shutil
  from guild import util
label_desc: Use image node_id 11 for calling a global function with example usage: _select_file_to_copy(src, relpath, select, ignore) and returns: select, _ignored_path_select_result