MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / readAliases

Method readAliases

framework/data.cpp:954–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

952}
953
954void DataImpl::readAliases()
955{
956 auto aliasFiles = this->fs.enumerateDirectoryRecursive("aliases", ".alias");
957 for (auto &path : aliasFiles)
958 {
959 this->readAliasFile(path);
960 }
961}
962void DataImpl::readAliasFile(const UString &path)
963{
964 LogInfo("Reading aliases from \"%s\"", path);

Callers 1

DataImplMethod · 0.95

Calls 2

readAliasFileMethod · 0.95

Tested by

no test coverage detected