parameters: (src_dir, dest_dir, ignore=None)
return_statement: return shutil.copytree(src_dir, dest_dir, ignore=ignore)
docstring: Recursively copy the src_dir to the dest_dir, filtering
      out entries using the ignore lambda.  The behavior of the
      ignore lambda must match that described by `shutil.copytree`.
      This `copytree` function knows how to prefetch data when
      running in an eden repo.
      TODO: I'd like to either extend this or add a variant that
      uses watchman to mirror src_dir into dest_dir.
docstring_summary: Recursively copy the src_dir to the dest_dir, filtering
      out entries using the ignore lambda.  The behavior of the
      ignore lambda must match that described by `shutil.copytree`.
      This `copytree` function knows how to prefetch data when
      running in an eden repo.
      TODO: I'd like to either extend this or add a variant that
      uses watchman to mirror src_dir into dest_dir.
docstring_tokens: Recursively copy the src_dir to the dest_dir filtering out entries using the ignore lambda . The behavior of the ignore lambda must match that described by shutil . copytree . This copytree function knows how to prefetch data when running in an eden repo . TODO : I d like to either extend this or add a variant that uses watchman to mirror src_dir into dest_dir .
function: def copytree(src_dir, dest_dir, ignore=None):
      """Recursively copy the src_dir to the dest_dir, filtering
      out entries using the ignore lambda.  The behavior of the
      ignore lambda must match that described by `shutil.copytree`.
      This `copytree` function knows how to prefetch data when
      running in an eden repo.
      TODO: I'd like to either extend this or add a variant that
      uses watchman to mirror src_dir into dest_dir.
      """
      prefetch_dir_if_eden(src_dir)
      return shutil.copytree(src_dir, dest_dir, ignore=ignore)
function_tokens: def copytree ( src_dir , dest_dir , ignore = None ) : prefetch_dir_if_eden ( src_dir ) return shutil . copytree ( src_dir , dest_dir , ignore = ignore )