Skip to main content

name_replacements

Function name_replacements 

Source
pub fn name_replacements(
    prepared: &mut Prepared,
    replace: &[String],
) -> Result<(), RkError>
Expand description

Turn every conflict replace names into a replacement, and refuse a name that is no conflict.

A conflict is an unattributed collision or a recorded rendered file whose bytes the record no longer vouches for. Every conflict the operator did not name stays a collision, and the landing still refuses it before the first write; a name that matches no conflict is a usage error, because a replace the operator believes happened and did not is worse than a refusal.

ยงErrors

RkError::Usage naming the first path that is no conflict.