Skip to main content

is_stdout

Function is_stdout 

Source
pub fn is_stdout(path: &str) -> bool
Expand description

Check if a path string indicates stdout.

Recognizes POSIX - convention and Linux device paths: -, /dev/stdout, /dev/fd/1, /proc/self/fd/1