Function gix_filter::ident::undo

source ·
pub fn undo(src: &[u8], buf: &mut Vec<u8>) -> bool
Expand description

Undo identifiers like $Id:<hexsha>$ to $Id$ in src and write to buf. Newlines between dollars are ignored. Return true if buf was written or false if src was left unaltered (as there was nothing to do).