Skip to main content

desired

Function desired 

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

What the attributes file at path should contain for extra_lines.

Split out from write_section so sync --check can compare without writing — the check and the write must never answer differently.

§Errors

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