Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

438 B
Raw Blame
// Code generated by protoc-gen-equal-go. DO NOT EDIT.
// source: store/role.proto

package store

func (x *RolePermissions) Equal(y *RolePermissions) bool {
	if x == y {
		return true
	}
	if x == nil || y == nil {
		return x == nil && y == nil
	}
	if len(x.Permissions) != len(y.Permissions) {
		return false
	}
	for i := 0; i < len(x.Permissions); i++ {
		if x.Permissions[i] != y.Permissions[i] {
			return false
		}
	}
	return true
}