createYamlEdits
createYamlEdits(
source,path,value,options?):TextEdit[]
Defined in: packages/format-yaml/src/edit.ts:12
Returns the TextEdit needed to set value at path.
Medium-fidelity: uses yaml.Document mutation then reprints — a single
full-replace edit.
Parameters
Section titled “Parameters”source
Section titled “source”string
PropertyPath
unknown
options?
Section titled “options?”ToStringOptions
Returns
Section titled “Returns”TextEdit[]