original_string: 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());
      }
code: 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());
      }
code_tokens: 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 ( ) ) ; }
docstring: Get file revision download URL
  
  @param LibraryType     $library         Source library object
  @param DirectoryItem   $dirItem         Item instance
  @param FileHistoryItem $fileHistoryItem FileHistory item instance
  
  @return Response
  @throws \GuzzleHttp\Exception\GuzzleException
docstring_tokens: Get file revision download URL