/** * see http://php.net/manual/en/function.rmdir.php * * @param string $path * @return bool */ public function rmdir($path) { $result = $this->storage->rmdir($path); $fullPath = $this->getFullPath($path); if ($result && $this->util->isExcluded($fullPath) === false && $this->encryptionManager->isEnabled()) { $this->keyStorage->deleteAllFileKeys($fullPath); } return $result; }
/** * @param string $path */ public function deleteAllFileKeys($path) { return $this->keyStorage->deleteAllFileKeys($path); }