| 385 | } |
| 386 | |
| 387 | void Mutation::AddOrUpdateNodeAttr(MutableNodeView* node, |
| 388 | absl::string_view attr_name, |
| 389 | const AttrValue& attr_value) { |
| 390 | AddMutation(node, [attr_name, attr_value](MutableNodeViewDiff* diff) { |
| 391 | internal::AddOrUpdateAttribute(diff, attr_name, attr_value); |
| 392 | }); |
| 393 | } |
| 394 | |
| 395 | void Mutation::AddOrUpdateNodeAttr(const MutationNewNode& node, |
| 396 | absl::string_view attr_name, |