Skip to main content

frame_section

Function frame_section 

Source
pub fn frame_section(lines: &[Vec<u8>], out: &mut dyn Write) -> Result<()>
Expand description

Frame lines as text pkt-lines and terminate with a flush-pkt.

Text framing is what git uses here: the newline is the framer’s, which is why no lines function in this crate emits one.