| 1296 | } |
| 1297 | |
| 1298 | void Modify::regNamespace(const ModifyCmd& modifyCmd) { |
| 1299 | // If modify is used when extracting to stdout then ignore verbose |
| 1300 | if (Params::instance().verbose_ && |
| 1301 | !(Params::instance().action_ & Action::extract && Params::instance().target_ & Params::ctStdInOut)) { |
| 1302 | std::cout << _("Reg ") << modifyCmd.key_ << "=\"" << modifyCmd.value_ << "\"" << std::endl; |
| 1303 | } |
| 1304 | Exiv2::XmpProperties::registerNs(modifyCmd.value_, modifyCmd.key_); |
| 1305 | } |
| 1306 | |
| 1307 | Task::UniquePtr Modify::clone() const { |
| 1308 | return std::make_unique<Modify>(*this); |
nothing calls this directly
no outgoing calls
no test coverage detected