MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / ensureDirectoryExists

Method ensureDirectoryExists

settings/ConfigurationManager.cpp:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194bool ConfigurationManager::ensureDirectoryExists(ConfigurationType type) const
195{
196 QDir dir(getConfigurationDirectory(type));
197 if (!dir.exists()) {
198 return dir.mkpath(".");
199 }
200 return true;
201}
202
203bool ConfigurationManager::loadConfigurations(ConfigurationType type)
204{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected