Skip to main content

remove_target

Function remove_target 

Source
pub fn remove_target(target: &Path) -> Result<()>
Expand description

Unconditional removal of whatever is at target.

Unchecked: this will remove_dir_all a real directory regardless of whose it is. Deployment paths must go through remove_classified_target (or sync_skill) instead; this remains for callers that have already established ownership another way.