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

Function isFile

src/system.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101
102bool isFile(const std::string& path) {
103 try {
104 return fs::is_regular_file(fs::u8path(path));
105 }
106 catch (fs::filesystem_error& e) {
107 return false;
108 }
109}
110
111
112bool isDirectory(const std::string& path) {

Callers 4

loadPluginCallbackFunction · 0.85
extractPackagesFunction · 0.85
initFunction · 0.85
screenshotModulesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected