gix_filter::ident

Function undo

source
pub fn undo(src: &[u8], buf: &mut Vec<u8>) -> Result<bool, TryReserveError>
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).