|
libzypp
9.1.2
|
Clean or delete a directory on destruction. More...

Public Types | |
| enum | Flags { NoOp = 0, Autodelete = 1L << 0, KeepTopdir = 1L << 1, CtorDefault = Autodelete } |
Public Member Functions | |
| Impl (const Pathname &path_r, Flags flags_r=CtorDefault) | |
| ~Impl () | |
| const Pathname & | path () const |
Private Attributes | |
| Pathname | _path |
| Flags | _flags |
Clean or delete a directory on destruction.
Definition at line 36 of file TmpPath.cc.
Definition at line 40 of file TmpPath.cc.
| zypp::filesystem::TmpPath::Impl::Impl | ( | const Pathname & | path_r, |
| Flags | flags_r = CtorDefault |
||
| ) | [inline] |
Definition at line 51 of file TmpPath.cc.
| zypp::filesystem::TmpPath::Impl::~Impl | ( | ) | [inline] |
Definition at line 55 of file TmpPath.cc.
References zypp::filesystem::clean_dir(), DBG, INT, zypp::filesystem::PathInfo::isDir(), zypp::filesystem::PathInfo::isExist(), zypp::filesystem::recursive_rmdir(), and zypp::filesystem::unlink().
| const Pathname& zypp::filesystem::TmpPath::Impl::path | ( | ) | const [inline] |
Definition at line 82 of file TmpPath.cc.
Referenced by zypp::filesystem::TmpPath::path().
Definition at line 86 of file TmpPath.cc.
Flags zypp::filesystem::TmpPath::Impl::_flags [private] |
Definition at line 87 of file TmpPath.cc.
1.7.6.1