Versions in this module Expand all Collapse all v0 v0.2.0 Jul 27, 2026 Changes in this version + func Encode(doc *yaml.Node) (string, error) + func FindDocument(spansByFile [][]DocSpan, kinds map[string]bool, name string) (fileIdx, segIdx, count int) + func MapValue(m *yaml.Node, key string) *yaml.Node + func Navigate(node *yaml.Node, keys ...string) *yaml.Node + func Rebuild(content string, spans []DocSpan, edits map[int]string) string + func SetMapValue(m *yaml.Node, key string, value *yaml.Node) + func SetStringScalar(m *yaml.Node, key, value string) + type DocSpan struct + End int + Kind string + Name string + Start int + func Classify(content string) []DocSpan