Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
79
func
(e *encoder) emit() {
80
// This will internally delete the e.event value.
81
e.must(yaml_emitter_emit(&e.emitter, &e.event))
82
}
83
84
func
(e *encoder) must(ok bool) {
85
if
!ok {
Callers
7
init
Method · 0.95
finish
Method · 0.95
marshalDoc
Method · 0.95
mappingv
Method · 0.95
slicev
Method · 0.95
emitScalar
Method · 0.95
node
Method · 0.95
Calls
2
must
Method · 0.95
yaml_emitter_emit
Function · 0.85
Tested by
no test coverage detected