Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ getWorkingDirectory
Function
getWorkingDirectory
src/system.cpp:211–218 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
209
210
211
std::string getWorkingDirectory() {
212
try {
213
return fs::current_path().generic_u8string();
214
}
215
catch (fs::filesystem_error& e) {
216
return
""
;
217
}
218
}
219
220
221
void setWorkingDirectory(const std::string& path) {
Callers
1
initSystemDir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected