/** * Calculate MD5 hash for files in the specified directory. * * @param string $directory Directory path relative to PW's root * @param string $exclude Array of paths to be excluded * @param boolean $recursive If TRUE, the directory is scanned recursively * @return array Associative array [filename] => [MD5 hash] */ public function getFilesMD5($directory, $exclude, $recursive = false) { return $this->connection->getFilesMD5($directory, $exclude, $recursive); }