MCPcopy
hub / github.com/TomWright/dasel / DocumentSeparator

Interface DocumentSeparator

parsing/writer.go:42–45  ·  view source on GitHub ↗

DocumentSeparator is an interface that can be implemented by writers to allow for custom document separators.

Source from the content-addressed store, hash-verified

40
41// DocumentSeparator is an interface that can be implemented by writers to allow for custom document separators.
42type DocumentSeparator interface {
43 // Separator returns the document separator.
44 Separator() []byte
45}
46
47// MultiDocumentWriter is a writer that can write multiple documents.
48func MultiDocumentWriter(w Writer) Writer {

Callers 1

WriteMethod · 0.65

Implementers 1

yamlWriterparsing/yaml/yaml_writer.go

Calls

no outgoing calls

Tested by

no test coverage detected