ark::supervisor::ScopedRemount
Defined in header “ark/supervisor/scoped_remount.hh”.
This class will remount the given path as read/write (if possible, and if it is set) on construction, and unmount it on destruction.
Methods
-
ScopedRemount(std::filesystem::path mount_path)
Constructor. Takes the given path and remounts it R/W. If the path is empty, does nothing. -
~ScopedRemount()
Destructor. Unmounts the mounted path.