MCPcopy Create free account
hub / github.com/city-super/Octree-GS / string getInstallSubDirectory

Method string getInstallSubDirectory

SIBR_viewers/src/core/system/Utils.cpp:410–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408 }
409
410 SIBR_SYSTEM_EXPORT std::string getInstallSubDirectory(const std::string & subfolder)
411 {
412 std::string installDirectory = getInstallDirectory();
413 std::string installSubDirectory = installDirectory + "/" + subfolder;
414
415 if(!directoryExists(installSubDirectory))
416 {
417 // try subdirs GD LINUX issue
418 installSubDirectory = installDirectory + "/install/" + subfolder;
419 if(!directoryExists(installSubDirectory))
420 SIBR_ERR << "Can't find subfolder " << subfolder << " in " << installDirectory << ". Please specify correct app folder as command-line option using --appPath option!" << std::endl;
421 }
422
423 return installSubDirectory;
424 }
425
426 bool showFilePicker(std::string & selectedElement,
427

Callers

nothing calls this directly

Calls 1

directoryExistsFunction · 0.85

Tested by

no test coverage detected