MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / ParseChangeType

Function ParseChangeType

service/service_diff/type.go:61–67  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

59 return changeTypeLabels[*c]
60}
61func ParseChangeType(s string) ChangeType {
62 t, ok := changeNameMaps[strings.ToLower(s)]
63 if ok {
64 return t
65 }
66 return ChangeTypeNone
67}

Callers 1

UnmarshalJSONMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected