17 #include <zypp-core/base/GzStream> 19 #ifdef ENABLE_ZCHUNK_COMPRESSION 20 #include <zypp-core/base/ZckStream> 35 inline std::streamoff _helperInitSize(
const Pathname & file_r )
45 #ifdef ENABLE_ZCHUNK_COMPRESSION 76 , _name(
std::move( name_r ))
85 : _path(
std::move( file_r ))
86 , _stream( streamForFile( _path.
asString() ) )
88 , _size( _helperInitSize( _path ) )
98 : _path(
std::move( file_r ))
99 , _stream( streamForFile( _path.
asString() ) )
100 , _name(
std::move( name_r ))
101 , _size( _helperInitSize( _path ) )
111 , _stream( streamForFile( _path.
asString() ) )
113 , _size( _helperInitSize( _path ) )
124 , _stream( streamForFile( _path.
asString() ) )
125 , _name(
std::move( name_r ))
126 , _size( _helperInitSize( _path ) )
136 , _stream( streamForFile( _path.
asString() ) )
138 , _size( _helperInitSize( _path ) )
149 , _stream( streamForFile( _path.
asString() ) )
150 , _name(
std::move( name_r ))
151 , _size( _helperInitSize( _path ) )
std::string asString(const DefaultIntegral< Tp, TInitial > &obj)
String related utilities and Regular expression matching.
ZIP_TYPE zipType(const Pathname &file)
std::ostream & operator<<(std::ostream &str, const Exception &obj)
detail::fXstream< std::istream, gzstream_detail::fgzstreambuf > ifgzstream
istream reading gzip files as well as plain files.
shared_ptr custom deleter doing nothing.
detail::fXstream< std::istream, detail::ZChunkStreamBuf > ifzckstream
istream reading zchunk files.