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

Function getExtension

src/system.cpp:291–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289
290
291std::string getExtension(const std::string& path) {
292 try {
293 return fs::u8path(path).extension().generic_u8string();
294 }
295 catch (fs::filesystem_error& e) {
296 return "";
297 }
298}
299
300
301std::vector<uint8_t> readFile(const std::string& path) {

Callers 7

extractPackagesFunction · 0.85
saveAsDialogMethod · 0.85
loadTranslationsFunction · 0.85
saveSelectionDialogMethod · 0.85
onPathDropMethod · 0.85
saveDialogMethod · 0.85
appendPresetItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected