MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / pointer

Method pointer

internal/controller/runtime/patch.go:27–36  ·  view source on GitHub ↗
(tokens ...string)

Source from the content-addressed store, hash-verified

25func NewJSONPatch() *JSON6902 { return &JSON6902{} }
26
27func (*JSON6902) pointer(tokens ...string) string {
28 var b strings.Builder
29
30 for _, t := range tokens {
31 _ = b.WriteByte('/')
32 _, _ = b.WriteString(escapeJSONPointer(t))
33 }
34
35 return b.String()
36}
37
38// Add appends an "add" operation to patch.
39//

Callers 3

AddMethod · 0.95
RemoveMethod · 0.95
ReplaceMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected