MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / CheckAndAddToArchivedNames

Method CheckAndAddToArchivedNames

tools/rc/ResourceCompiler.cpp:456–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void
457ZipArchive::CheckAndAddToArchivedNames(std::string const& archiveEntry)
458{
459 std::clog << "Adding file " << archiveEntry << " ..." << std::endl;
460 // add the current file to the new archive
461 if (!archivedNames.insert(archiveEntry).second)
462 {
463 throw std::runtime_error("A file already exists with the name " + archiveEntry);
464 }
465}
466
467void
468ZipArchive::AddManifestFile(rapidjson::Document const& manifest)

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected