Versions in this module Expand all Collapse all v0 v0.1.2 Jun 18, 2026 v0.1.1 Jun 18, 2026 Changes in this version + func Clone(node *yaml.Node) *yaml.Node + func Equal(a, b *yaml.Node) bool + func FindNode(root *yaml.Node, pred func(*yaml.Node) bool) (*yaml.Node, error) + func FindNodes(root *yaml.Node, pred func(*yaml.Node) bool) []*yaml.Node + func Merge(dst, src *yaml.Node, opts ...MergeOption) error + func Update(nodes []*yaml.Node, fn func(*yaml.Node) error) error + type KeyFilter int + const KeyAll + const KeyOnlyExisting + const KeyOnlyNew + type MergeOption func(*mergeConfig) + func WithAppendSequences() MergeOption + func WithClobberTags(enable ...bool) MergeOption + func WithKeyFilter(f KeyFilter) MergeOption + func WithNullMerge(s NullStrategy) MergeOption + func WithOnlyExistingKeys() MergeOption + func WithOnlyNewKeys() MergeOption + func WithSequenceMerge(s SequenceStrategy) MergeOption + func WithSharedSource(enable ...bool) MergeOption + type NullStrategy int + const NullDelete + const NullIgnore + const NullOverwrite + type SequenceStrategy int + const SequenceAppend + const SequenceByIndex + const SequenceReplace