Function validate_destination_path
Source pub fn validate_destination_path(dst_path_str: &str) -> Result<()>
Expand description
Validates that destination path doesn’t end with problematic patterns like . or ..
§Arguments
dst_path_str - Destination path string to validate
§Returns
Ok(()) - If path is valid
Err(...) - If path ends with . or .. with clear error message