Skip to main content

write_section

Function write_section 

Source
pub fn write_section(path: &Path, extra_lines: &[String]) -> Result<bool>
Expand description

Writes the managed section into the attributes file at path.

ยงErrors

Error::Io on a read or write failure, Error::Config on unbalanced markers.