You are here

protected function Provision_ShellCommand::pathExists in Aegir Objects 7.3

File

drush/Provision/ShellCommand.php, line 54

Class

Provision_ShellCommand

Code

protected function pathExists($path) {
  if (!empty($path)) {
    return provision_file()
      ->exists($path)
      ->status();
  }
  $this
    ->warning(dt('No path provided.'));
  return FALSE;
}