Function uu_cp::verify_target_type
source · pub fn verify_target_type(
target: &Path,
target_type: &TargetType
) -> CopyResult<()>
Expand description
Generate an error message if target
is not the correct target_type
pub fn verify_target_type(
target: &Path,
target_type: &TargetType
) -> CopyResult<()>
Generate an error message if target
is not the correct target_type