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

Function isImmutable

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

Source from the content-addressed store, hash-verified

21}
22
23func isImmutable(op string, attr CoreAttribute) bool {
24 return attr.mutability == attributeMutabilityImmutable && (op == "replace" || op == "remove")
25}
26
27func isReadOnly(attr CoreAttribute) bool {
28 return attr.mutability == attributeMutabilityReadOnly

Callers 1

cannotBePatchedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…