4require_once
'Services/FileSystem/classes/class.ilFileSystemStorage.php';
32 return 'ilTestProcessLocks';
51 set_error_handler(
function ($severity,
$message,
$file, $line) {
52 throw new ErrorException(
$message, $severity, 0,
$file, $line);
57 restore_error_handler();
58 }
catch (Exception $e) {
59 restore_error_handler();
62 if (!file_exists($this->
getPath())) {
63 throw new ErrorException(
sprintf(
'Could not find directory: %s', $this->
getPath()));
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
create()
Create directory.
getPathPrefix()
Get path prefix.
getPathPostfix()
Get directory name.
static makeDirParents($a_dir)
Create a new directory and all parent directories.
catch(Exception $e) $message
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file