Function gix_filter::ident::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).