13#include <zypp-core/base/LogTools.h>
16#include <zypp-core/base/GzStream>
18#ifdef ENABLE_ZCHUNK_COMPRESSION
19 #include <zypp-core/base/ZckStream>
22#include <zypp-core/fs/PathInfo.h>
34 inline std::streamoff _helperInitSize(
const Pathname & file_r )
44#ifdef ENABLE_ZCHUNK_COMPRESSION
73 const std::string & name_r )
85 , _stream( streamForFile( _path.asString() ) )
86 , _name( _path.asString() )
87 , _size( _helperInitSize( _path ) )
96 const std::string & name_r )
98 , _stream( streamForFile( _path.asString() ) )
100 , _size( _helperInitSize( _path ) )
110 , _stream( streamForFile( _path.asString() ) )
111 , _name( _path.asString() )
112 , _size( _helperInitSize( _path ) )
121 const std::string & name_r )
123 , _stream( streamForFile( _path.asString() ) )
125 , _size( _helperInitSize( _path ) )
135 , _stream( streamForFile( _path.asString() ) )
136 , _name( _path.asString() )
137 , _size( _helperInitSize( _path ) )
146 const std::string & name_r )
148 , _stream( streamForFile( _path.asString() ) )
150 , _size( _helperInitSize( _path ) )
String related utilities and Regular expression matching.
ZIP_TYPE zipType(const Pathname &file)
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
detail::fXstream< std::istream, detail::ZChunkStreamBuf > ifzckstream
istream reading zchunk files.
detail::fXstream< std::istream, gzstream_detail::fgzstreambuf > ifgzstream
istream reading gzip files as well as plain files.
shared_ptr custom deleter doing nothing.