MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / RenameActiveExecutable

Method RenameActiveExecutable

vkconfig_core/executable_manager.cpp:366–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366bool ExecutableManager::RenameActiveExecutable(const Path& executable_path) {
367 if (this->GetActiveExecutable() == nullptr) {
368 return false;
369 }
370
371 this->GetActiveExecutable()->path = executable_path;
372 this->last_path_executable = executable_path;
373 this->active_executable = executable_path;
374
375 return true;
376}
377
378bool ExecutableManager::UpdateConfigurations(std::vector<Path>& updated_executable_paths) {
379 int result = 0;

Callers 2

TESTFunction · 0.80

Calls 1

GetActiveExecutableMethod · 0.95

Tested by 1

TESTFunction · 0.64