You are here

public function FileTransferLocal::isDirectory in Drupal 7

Checks if a particular path is a directory

Parameters

$path: The path to check

Return value

boolean

Overrides FileTransfer::isDirectory

File

includes/filetransfer/local.inc, line 56

Class

FileTransferLocal
The local connection class for copying files as the httpd user.

Code

public function isDirectory($path) {
  return is_dir($path);
}