// filename is interpreted relative to the attached url
// and a path prefix is preserved to destination
void
-MediaAccess::provideFile(const Pathname & filename , const ByteCount &expectedFileSize) const
+MediaAccess::provideFile( const Pathname & filename ) const
{
if ( !_handler ) {
ZYPP_THROW(MediaNotOpenException("provideFile(" + filename.asString() + ")"));
}
- _handler->provideFile( filename, expectedFileSize );
+ _handler->provideFile( filename );
}
void
try {
media.open( u );
media.attach();
- media._handler->provideFileCopy( base, to, 0 );
+ media._handler->provideFileCopy( base, to );
media.release();
}
catch (const MediaException & excpt_r)