Skip to main content

json_git_text

Function json_git_text 

Source
pub fn json_git_text(value: &[u8]) -> (String, &'static str)
Expand description

Keep valid UTF-8 Git text exact and percent-encode every byte otherwise.