| 29 | } |
| 30 | |
| 31 | void EmptyFileCreatorByType::createFile(const std::string& fileName) |
| 32 | { |
| 33 | for (const auto& creator : creators_) |
| 34 | { |
| 35 | if (StringUtils::endsWith(fileName, creator.first)) |
| 36 | { |
| 37 | creator.second(fileName); |
| 38 | return; |
| 39 | } |
| 40 | } |
| 41 | EmptyFileCreatorFactory::defaultCreator(fileName); |
| 42 | } |
| 43 | } |
nothing calls this directly
no outgoing calls
no test coverage detected