Skip to main content

resolve

Function resolve 

Source
pub fn resolve(repo_path: &Path, declared: &Prunable) -> Vec<Declaration>
Expand description

Check every declaration in a repository, in the order the file lists them.

Directories that simply are not there are dropped rather than reported: a declared directory that does not exist is a declaration that has already been honoured, and a repository that declares four caches and currently has one should not print three lines about the other three on every single pass.

So is anything prunable.exclude names, and for the same reason. Whoever wrote the exclusion has already answered every question this module would ask about that directory — including whether to keep saying that it cannot be honoured.