MCPcopy Create free account
hub / github.com/VCVRack/Rack / createSymbolicLink

Function createSymbolicLink

src/system.cpp:174–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173
174bool createSymbolicLink(const std::string& target, const std::string& link) {
175 try {
176 fs::create_symlink(fs::u8path(target), fs::u8path(link));
177 return true;
178 }
179 catch (fs::filesystem_error& e) {
180 return false;
181 }
182}
183
184
185bool remove(const std::string& path) {

Callers 1

loadLibraryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected