pub fn write( out: &Path, tree: &Tree, target: Target, previous: &[String], ) -> Result<()>
Writes the tree and its manifest, removing the files of the previous export first.