pub fn is_stdin(path: &str) -> bool
Check if a path string indicates stdin.
Recognizes POSIX - convention and Linux device paths: -, /dev/stdin, /dev/fd/0, /proc/self/fd/0
-
/dev/stdin
/dev/fd/0
/proc/self/fd/0