(op string, attr CoreAttribute)
| 17 | ) |
| 18 | |
| 19 | func cannotBePatched(op string, attr CoreAttribute) bool { |
| 20 | return isImmutable(op, attr) || isReadOnly(attr) |
| 21 | } |
| 22 | |
| 23 | func isImmutable(op string, attr CoreAttribute) bool { |
| 24 | return attr.mutability == attributeMutabilityImmutable && (op == "replace" || op == "remove") |
no test coverage detected
searching dependent graphs…