*/
bool downloads() const;
- /** \deprecated Use \ref Url::schemeIsDownloading */
- static
- ZYPP_DEPRECATED bool downloads(const Url &url)
- { return url.schemeIsDownloading(); }
-
- /** \deprecated Use \ref Url::schemeIsVolatile */
- static
- ZYPP_DEPRECATED bool canBeVolatile(const Url &url)
- { return url.schemeIsVolatile(); }
-
/**
* Used Protocol if media is opened, otherwise 'unknown'.
**/
* \throws MediaException
*
**/
- void provideFile( const Pathname & filename ) const;
+ void provideFile( const Pathname & filename, const ByteCount &expectedFileSize ) const;
/**
* Remove filename below attach point IFF handler downloads files
ZYPP_THROW(MediaBadFilenameException(_file.asString()));
} else if ( _media ) {
try {
- _media->provideFile( _file );
+ _media->provideFile( _file, 0 );
_local_file = _media->localPath( _file );
}
catch (const MediaException & excpt_r)