MCPcopy Create free account
hub / github.com/elimity-com/scim / cannotBePatched

Function cannotBePatched

schema/schema.go:19–21  ·  view source on GitHub ↗
(op string, attr CoreAttribute)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

isImmutableFunction · 0.85
isReadOnlyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…