MCPcopy
hub / github.com/go-yaml/yaml / emit

Method emit

encode.go:79–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (e *encoder) emit() {
80 // This will internally delete the e.event value.
81 e.must(yaml_emitter_emit(&e.emitter, &e.event))
82}
83
84func (e *encoder) must(ok bool) {
85 if !ok {

Callers 7

initMethod · 0.95
finishMethod · 0.95
marshalDocMethod · 0.95
mappingvMethod · 0.95
slicevMethod · 0.95
emitScalarMethod · 0.95
nodeMethod · 0.95

Calls 2

mustMethod · 0.95
yaml_emitter_emitFunction · 0.85

Tested by

no test coverage detected