Skip to main content

load

Function load 

Source
pub fn load(path: &Path) -> Result<Document>
Expand description

Read path and parse it as an editable YAML document.

The returned Document retains the source’s comments, blank-line clusters, and key ordering; mutations applied to it preserve everything outside the touched range.