|
RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
RAII class for restoring the current working directory. More...
#include <FilePath.hpp>
Public Member Functions | |
| RestoreCurrentPathScope (FilePath in_restorePath, ErrorLocation in_location) | |
| Constructor. More... | |
| virtual | ~RestoreCurrentPathScope () |
| Destructor. Returns the working directory to the original path. | |
RAII class for restoring the current working directory.
| rstudio::launcher_plugins::system::RestoreCurrentPathScope::RestoreCurrentPathScope | ( | FilePath | in_restorePath, |
| ErrorLocation | in_location | ||
| ) |
Constructor.
| in_restorePath | The path to which to restore the current working directory on destruction of this object. |
| in_location | The location where this object was constructed, for logging purposes. |
1.8.16