Skip to main content

build_git_root

Function build_git_root 

Source
pub fn build_git_root(git: &GitFile) -> GitResult<GffRoot>
Expand description

Builds a typed GffRoot from a GitFile.

Known typed fields are rewritten from the typed model. Unknown fields stored on per-entry raw structures are preserved.

§Errors

Returns GitError if any GFF field label is invalid.

§Examples

let _ = nwnrs_git::build_git_root;