RStudio Launcher Plugin SDK  1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
Public Member Functions | List of all members
rstudio::launcher_plugins::system::RestoreCurrentPathScope Class Reference

RAII class for restoring the current working directory. More...

#include <FilePath.hpp>

Inheritance diagram for rstudio::launcher_plugins::system::RestoreCurrentPathScope:

Public Member Functions

 RestoreCurrentPathScope (FilePath in_restorePath, ErrorLocation in_location)
 Constructor. More...
virtual ~RestoreCurrentPathScope ()
 Destructor. Returns the working directory to the original path.

Detailed Description

RAII class for restoring the current working directory.

Constructor & Destructor Documentation

◆ RestoreCurrentPathScope()

rstudio::launcher_plugins::system::RestoreCurrentPathScope::RestoreCurrentPathScope ( FilePath  in_restorePath,
ErrorLocation  in_location 


in_restorePathThe path to which to restore the current working directory on destruction of this object.
in_locationThe location where this object was constructed, for logging purposes.

The documentation for this class was generated from the following file: