Skip to main content

read_mirror

Function read_mirror 

Source
pub fn read_mirror(dir: &Path) -> Result<Mirror>
Expand description

Read the local mirror under dir: the rules plus the exception lists they reference.

A rule file holds a rule followed by any rule_default containers that belong to it. Those containers are inlined in the rule file but are still part of the mirror: rule_default is an ordinary container, so it must round-trip through diff and push like any other referenced list.