Searched refs:dirPath (Results 1 – 6 of 6) sorted by relevance
48 * @param string $dirPath directory path to delete50 function _deleteDir($dirPath) { argument51 if (! is_dir($dirPath)) {54 if (substr($dirPath, strlen($dirPath) - 1, 1) != '/') {55 $dirPath .= '/';57 $files = glob($dirPath . '*', GLOB_MARK);65 rmdir($dirPath);
99 $dirPath = dirname($filePath);100 if (file_exists($dirPath) && is_dir($dirPath)) {104 if (!mkdir($dirPath, 0755, true) && !is_dir($dirPath)) {105 throw new RuntimeException(sprintf('Directory "%s" was not created', $dirPath));
111 public function createDirectory(Path $dirPath): Path argument 113 $result = mkdir($dirPath->toAbsolutePath()->toAbsoluteId(), $mode = 0770, $recursive = true);115 throw new ExceptionCompile("Unable to create the directory path ($dirPath)");117 return $dirPath;
91 * @param WikiPath $dirPath95 public function createDirectory(Path $dirPath) argument 97 return FileSystems::createDirectory($dirPath->toLocalPath());
126 public static function createDirectory(Path $dirPath) argument 128 $scheme = $dirPath->getScheme();131 return LocalFileSystem::getOrCreate()->createDirectory($dirPath);133 return WikiFileSystem::getOrCreate()->createDirectory($dirPath);
263 $dirPath = $this->base . $directory . '/.keep';264 $archive->addData($dirPath, '');