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

Function getStem

src/system.cpp:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280
281std::string getStem(const std::string& path) {
282 try {
283 return fs::u8path(path).stem().generic_u8string();
284 }
285 catch (fs::filesystem_error& e) {
286 return "";
287 }
288}
289
290
291std::string getExtension(const std::string& path) {

Callers 4

loadTranslationsFunction · 0.85
loadFileMethod · 0.85
appendPresetItemsFunction · 0.85
onActionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected