| 311 | |
| 312 | |
| 313 | void Command::InputFilesAddUnique(const tSystem::tFileInfo& infoToAdd) |
| 314 | { |
| 315 | bool alreadyAdded = false; |
| 316 | for (tSystem::tFileInfo* info = InputFiles.First(); info; info = info->Next()) |
| 317 | { |
| 318 | #ifdef PLAYFORM_WINDOWS |
| 319 | if (info->FileName.IsEqualCI(infoToAdd.FileName)) |
| 320 | #else |
| 321 | if (info->FileName.IsEqual(infoToAdd.FileName)) |
| 322 | #endif |
| 323 | { |
| 324 | alreadyAdded = true; |
| 325 | break; |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | if (!alreadyAdded) |
| 330 | InputFiles.Append(new tSystem::tFileInfo(infoToAdd)); |
| 331 | } |
| 332 | |
| 333 | |
| 334 | void Command::GetItemsFromManifest(tList<tStringItem>& manifestItems, const tString& manifestFile) |
nothing calls this directly
no outgoing calls
no test coverage detected