pub fn complete_line(s: &str) -> String
Complete stdin/file input with a trailing newline when missing (Git strbuf_complete_line).
strbuf_complete_line