pub fn survey(resolved: Resolved, target: &Target) -> Result<Survey>Expand description
Compares target’s files with resolved.
A part is read out of its file: the keys its base and the profile define, or its block.
§Errors
TargetError::NotAFile, a managed path on disk is a symlink or a directory.Error::Parse, a file with parts does not parse, or a block’s markers do not pair.Error::Io, a managed file cannot be read.