FileDirectoryTest::testFileCheckDirectoryHandling in modules/simpletest/tests/file.test
Test directory handling functions.
file_create_htaccess in includes/file.inc
Creates a .htaccess file in the given directory.
file_prepare_directory in includes/file.inc
Checks that the directory exists and is writable.
file_save_upload in includes/file.inc
Saves a file upload to a new location.
file_unmanaged_copy in includes/file.inc
Copies a file to a new location without invoking the file API.
system_check_directory in modules/system/system.module
Checks the existence of the directory specified in $form_element.
_color_render_images in modules/color/color.module
Renders images that match a given palette.
_color_save_stylesheet in modules/color/color.module
Saves the rewritten stylesheet to disk.