12 #ifndef ZYPP_TMPPATH_H
13 #define ZYPP_TMPPATH_H
63 explicit operator bool()
const;
105 inline std::ostream &
107 {
return str << static_cast<Pathname>(obj); }
149 static const std::string &
193 static const std::string &
Helper filtering the files offered by a RepomdFileReader.
Provide a new empty temporary directory and recursively delete it when no longer needed.
static const std::string & defaultPrefix()
TmpDir(const Pathname &inParentDir_r=defaultLocation(), const std::string &prefix_r=defaultPrefix())
Ctor.
static TmpDir makeSibling(const Pathname &sibling_r)
Provide a new empty temporary directory as sibling.
Provide a new empty temporary file and delete it when no longer needed.
TmpFile(const Pathname &inParentDir_r=defaultLocation(), const std::string &prefix_r=defaultPrefix())
Ctor.
static TmpFile makeSibling(const Pathname &sibling_r)
Provide a new empty temporary directory as sibling.
static const std::string & defaultPrefix()
Automaticaly deletes files or directories when no longer needed.
static const Pathname & defaultLocation()
bool autoCleanup() const
Whether path is valid and deleted when the last reference drops.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const Glob &obj)
Easy-to use interface to the ZYPP dependency resolver.
Pathname myTmpDir()
Global access to the zypp.TMPDIR (created on demand, deleted when libzypp is unloaded)