(&self)
| 2211 | } |
| 2212 | |
| 2213 | pub fn fs_encode_errors(&self) -> &'static PyUtf8StrInterned { |
| 2214 | if cfg!(windows) { |
| 2215 | identifier_utf8!(self, surrogatepass) |
| 2216 | } else { |
| 2217 | identifier_utf8!(self, surrogateescape) |
| 2218 | } |
| 2219 | } |
| 2220 | |
| 2221 | pub fn fsdecode(&self, s: impl Into<OsString>) -> PyStrRef { |
| 2222 | match s.into().into_string() { |
no outgoing calls
no test coverage detected