#include <TmpPath.h>
Inheritance diagram for zypp::filesystem::TmpDir:
Public Member Functions | |
TmpDir (const Pathname &inParentDir_r=defaultLocation(), const std::string &prefix_r=defaultPrefix()) | |
Ctor. | |
Static Public Member Functions | |
static const std::string & | defaultPrefix () |
The temporary directory is per default created in '/var/tmp' and ' named TmpDir.XXXXXX', with XXXXXX replaced by a string which makes the name unique. Different location and file prefix may be passed to the ctor. TmpDir is created with mode 0700.
The directory where the temporary directory is to be created must exist. TmpDir provides the Pathname of the temporary directory , or an empty path in case of any error.
Definition at line 152 of file TmpPath.h.
|
Ctor. Takes a Pathname. Definition at line 227 of file TmpPath.cc. References ERR, and zypp::filesystem::PathInfo::isDir(). |
|
Definition at line 263 of file TmpPath.cc. |