Skip to main content

stdout_piped_raw

Function stdout_piped_raw 

Source
pub fn stdout_piped_raw(args: &[&str], stdin: &str) -> Option<Vec<u8>>
Expand description

As stdout_piped, but returning the RAW bytes.

Needed by the one caller that must both feed git a list on stdin and read a -z path list back — diff-tree --stdin -z. stdout_paths cannot serve it (no stdin) and stdout_piped cannot either (lossy String, and the NUL separators are the whole point).