Skip to main content

classify_target

Function classify_target 

Source
pub fn classify_target(
    target: &Path,
    source: Option<&Path>,
) -> Result<TargetState>
Expand description

Classify what is at target without following links.

source is the deployment source, used only to recognize a link that already points at it. Pass None when there is no source to compare against.