(&self)
| 117 | } |
| 118 | |
| 119 | fn in_file(&self) -> Option<&File> { |
| 120 | match self { |
| 121 | Self::File(_) => None, |
| 122 | Self::FilePair(_, f) => Some(f), |
| 123 | Self::PtyPair(_, f) => Some(f), |
| 124 | Self::Null => None, |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | fn is_pty(&self) -> bool { |
| 129 | matches!(self, Self::PtyPair(_, _)) |
no outgoing calls
no test coverage detected