Skip to main content

canonical

Function canonical 

Source
pub fn canonical(kind: GitObjectKind, payload: &[u8]) -> Vec<u8> 
Expand description

Build canonical bytes from a type and content. Used by tests and by any writer that has the content in hand.