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

Function isDirectory

src/system.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111
112bool isDirectory(const std::string& path) {
113 try {
114 return fs::is_directory(fs::u8path(path));
115 }
116 catch (fs::filesystem_error& e) {
117 return false;
118 }
119}
120
121
122uint64_t getFileSize(const std::string& path) {

Callers 10

mainFunction · 0.85
initUserDirFunction · 0.85
loadPluginsFunction · 0.85
initFunction · 0.85
saveAsDialogMethod · 0.85
cleanAutosaveMethod · 0.85
loadDialogMethod · 0.85
loadSelectionDialogMethod · 0.85
saveSelectionDialogMethod · 0.85
appendPresetItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected