Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
file.inc
»
file_copy
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
6 calls to file_copy()
FileCopyTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test that copying over an existing file fails when
FILE_EXISTS_ERROR
is specified.
FileCopyTest::testExistingRename
in drupal/
modules/
simpletest/
tests/
file.test
Test renaming when copying over a file that already exists.
FileCopyTest::testExistingReplace
in drupal/
modules/
simpletest/
tests/
file.test
Test replacement when copying over a file that already exists.
FileCopyTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Test file copying in the normal, base case.
FileTokenReplaceTestCase::testFileTokenReplacement
in drupal/
modules/
file/
tests/
file.test
Creates a file, then tests the tokens generated from it.
ImageStylesPathAndUrlTestCase::testImageContentTypeHeaders
in drupal/
modules/
image/
image.test
Test that we do not pass an array to drupal_add_http_header.