MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / Unmarshal

Method Unmarshal

src/java/common/yaml_handler.go:12–14  ·  view source on GitHub ↗

Unmarshal decodes the YAML data into the provided destination.

(data []byte, out any)

Source from the content-addressed store, hash-verified

10
11// Unmarshal decodes the YAML data into the provided destination.
12func (h YamlHandler) Unmarshal(data []byte, out any) error {
13 return yaml.Unmarshal(data, out)
14}
15
16// Marshal encodes the given value into YAML.
17func (h YamlHandler) Marshal(in any) ([]byte, error) {

Callers 15

loadConfigMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95
isEnabledMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95
loadConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected