Skip to main content

write_plist

Function write_plist 

Source
fn write_plist(File: &Path, Root: &Value) -> Result<bool, Error>
Expand description

Serialises an in-memory plist tree to XML and writes it to File.

Returns true if the file content changed, false if the serialisation happens to match what is already on disk (e.g. no-op after a prior write).