MCPcopy Create free account
hub / github.com/devfile/api / GetPatchMergeKey

Function GetPatchMergeKey

generator/genutils/patch_strategy.go:50–52  ·  view source on GitHub ↗

GetPatchMergeKey reads the field tags to retrieve the patch merge key. It returns nil if no such key is defined

(field *markers.FieldInfo)

Source from the content-addressed store, hash-verified

48
49// GetPatchMergeKey reads the field tags to retrieve the patch merge key. It returns nil if no such key is defined
50func GetPatchMergeKey(field *markers.FieldInfo) string {
51 return field.Tag.Get(patchMergeKeyTagKey)
52}

Callers

nothing calls this directly

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected