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

Function yaml_emitter_set_writer_error

writerc.go:26–30  ·  view source on GitHub ↗

Set the writer error and return false.

(emitter *yaml_emitter_t, problem string)

Source from the content-addressed store, hash-verified

24
25// Set the writer error and return false.
26func yaml_emitter_set_writer_error(emitter *yaml_emitter_t, problem string) bool {
27 emitter.error = yaml_WRITER_ERROR
28 emitter.problem = problem
29 return false
30}
31
32// Flush the output buffer.
33func yaml_emitter_flush(emitter *yaml_emitter_t) bool {

Callers 1

yaml_emitter_flushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected