Function grep_cli::unescape_os[][src]

pub fn unescape_os(string: &OsStr) -> Vec<u8>

Unescapes an OS string.

This is like unescape, but accepts an OS string.

Note that this first lossily decodes the given OS string as UTF-8. That is, an escaped string (the thing given) should be valid UTF-8.