public function getFileRevisionDownloadUrl(
        LibraryType $library,
        DirectoryItem $dirItem,
        FileHistoryItem $fileHistoryItem
    ) {
        $url = $this->client->getConfig('base_uri')
            . '/repos/'
            . $library->id
            . '/file/revision/'
            . '?p=' . $this->urlEncodePath($dirItem->path . $dirItem->name)
            . '&commit_id=' . $fileHistoryItem->id;

        $response = $this->client->request('GET', $url);

        return preg_replace("/\"/", '', (string)$response->getBody());
    }