Skip to main content

append_array_item_preserving

Function append_array_item_preserving 

Source
pub fn append_array_item_preserving(
    content: &str,
    path: &str,
    item: &Value,
) -> DocumentResult<String>
Expand description

Append an item to an existing block YAML sequence using the CST’s indentation-aware editor.