![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| AutoRemoveJail (int jid) | |
| AutoRemoveJail (const AutoRemoveJail &)=delete | |
| AutoRemoveJail & | operator= (const AutoRemoveJail &)=delete |
| AutoRemoveJail (AutoRemoveJail &&other) noexcept | |
| AutoRemoveJail & | operator= (AutoRemoveJail &&other) noexcept |
| operator int () const | |
| void | remove () |
| void | cancel () noexcept |
Public Attributes | |
| int | jid = INVALID_JAIL |
| std::vector< std::filesystem::path > | childrenMounts |
Friends | |
| void | swap (AutoRemoveJail &lhs, AutoRemoveJail &rhs) noexcept |
|
noexcept |
Cancel the jail removal.
| void nix::AutoRemoveJail::remove | ( | ) |
Remove the jail and cancel this AutoRemoveJail, so jail removal is not attempted a second time by the destructor.
The destructor calls this ignoring any exception.