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

Function getFilename

src/system.cpp:271–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270
271std::string getFilename(const std::string& path) {
272 try {
273 return fs::u8path(path).filename().generic_u8string();
274 }
275 catch (fs::filesystem_error& e) {
276 return "";
277 }
278}
279
280
281std::string getStem(const std::string& path) {

Callers 4

saveAsDialogMethod · 0.85
cleanAutosaveMethod · 0.85
stepMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected