Skip to main content

new_code

Function new_code 

Source
pub fn new_code(
    root: &Path,
    code: &NewCode,
) -> Result<Vec<FileChange>, GenError>
Expand description

Writes only the sources; sofie gen and sofie check follow, as after any edit. A failure part-way undoes what was written.