Skip to main content

write_git

Function write_git 

Source
pub fn write_git<W: Write + Seek>(
    writer: &mut W,
    git: &GitFile,
) -> GitResult<()>
Expand description

Writes a typed GIT file to writer.

This is equivalent to build_git_root followed by write_gff_root.

§Errors

Returns GitError if building or writing the GFF root fails.

§Examples

let _ = nwnrs_git::write_git;