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_EXISTS_ERROR
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
12 uses of FILE_EXISTS_ERROR
FileCopyTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test that copying over an existing file fails when
FILE_EXISTS_ERROR
is specified.
FileCopyTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Test file copying in the normal, base case.
FileDirectoryTest::testFileDestination
in drupal/
modules/
simpletest/
tests/
file.test
This will test the filepath for a destination based on passed flags and whether or not the file exists.
FileMoveTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test that moving onto an existing file fails when
FILE_EXISTS_ERROR
is specified.
FileMoveTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Move a normal file.
FileSaveDataTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test that
file_save_data
() fails overwriting an existing file.
FileSaveUploadTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test for failure when uploading over a file that already exists.
FileUnmanagedCopyTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf
in drupal/
modules/
simpletest/
tests/
file.test
Copy a file onto itself.
FileUnmanagedMoveTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Move a normal file.
file_destination
in drupal/
includes/
file.inc
Determines the destination path for a file.
ImageFileMoveTest::testNormal
in drupal/
modules/
simpletest/
tests/
image.test
Tests moving a randomly generated image.