15#include <zypp/base/LogTools.h>
16#include <zypp/base/IOStream.h>
17#include <zypp/base/String.h>
19#include <zypp/PathInfo.h>
20#include <zypp/TmpPath.h>
39 WAR <<
"Can't read " <<
pi << endl;
46 if ( !
l.empty() &&
l[0] !=
'#' )
51 MIL <<
"Read " <<
pi << endl;
59 std::ofstream
outs(
tmp.path().c_str() );
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
static Date now()
Return the current time.
Access to the sat-pools string space.
Wrapper class for stat/lstat.
Provide a new empty temporary file and delete it when no longer needed.
static TmpFile makeSibling(const Pathname &sibling_r)
Provide a new empty temporary directory as sibling.
Simple lineparser: Traverse each line in a file.
Save and restore a list of solvable names (ident IdString)
static void load(const Pathname &file_r, Data &data_r)
Read Data from file_r.
std::unordered_set< IdString > Data
static void store(const Pathname &file_r, const Data &data_r)
Write Data to file_r.
String related utilities and Regular expression matching.
int chmod(const Pathname &path, mode_t mode)
Like 'chmod'.
int rename(const Pathname &oldpath, const Pathname &newpath)
Like 'rename'.
std::string trim(const std::string &s, const Trim trim_r)
std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & dumpRange(std::ostream &str, TIterator begin, TIterator end, const std::string &intro="{", const std::string &pfx="\n ", const std::string &sep="\n ", const std::string &sfx="\n", const std::string &extro="}")
Print range defined by iterators (multiline style).