13#include <zypp-core/base/LogTools.h>
17#include <zypp-core/base/GzStream>
19#ifdef ENABLE_ZCHUNK_COMPRESSION
20 #include <zypp-core/base/ZckStream>
23#include <zypp-core/fs/PathInfo.h>
35 inline std::streamoff _helperInitSize(
const Pathname & file_r )
45#ifdef ENABLE_ZCHUNK_COMPRESSION
76 , _name(
std::move( name_r ))
86 , _stream( streamForFile(
_path.asString() ) )
87 , _name(
_path.asString() )
88 , _size( _helperInitSize(
_path ) )
99 , _stream( streamForFile(
_path.asString() ) )
100 , _name(
std::move( name_r ))
101 , _size( _helperInitSize(
_path ) )
111 , _stream( streamForFile(
_path.asString() ) )
112 , _name(
_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() ) )
137 , _name(
_path.asString() )
138 , _size( _helperInitSize(
_path ) )
149 , _stream( streamForFile(
_path.asString() ) )
150 , _name(
std::move( name_r ))
151 , _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.
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.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
shared_ptr custom deleter doing nothing.