48
}
49
51
>
prefix := strings.TrimSuffix(path, ".") + "."
52
>
for field := range fieldMaskPaths {
53
>
if strings.HasPrefix(field, prefix) {
55
>
}
56
}
58
}
59
60
>
func FieldMaskHasPathOrSubPath(fieldMaskPaths map[string]struct{}, path string) bool {
proto.go
61
>
if _, ok := fieldMaskPaths[path]; ok {
63
>
}
65
}