Skip to main content

save

Function save 

Source
pub fn save(_value: &Value) -> DocumentResult<String>
Expand description

dotenv has no whole-document writer: re-rendering from the generic value would lose comments, ordering, and quoting. Format::save therefore refuses; edits go through set_preserving / unset_preserving, which splice only the touched assignment.