Determine if we're going to read from stdin. :param paths: The paths that we're going to check. :returns: True if stdin (-) is in the path, otherwise False
(paths: list[str])
| 201 | |
| 202 | |
| 203 | def is_using_stdin(paths: list[str]) -> bool: |
| 204 | """Determine if we're going to read from stdin. |
| 205 | |
| 206 | :param paths: |
| 207 | The paths that we're going to check. |
| 208 | :returns: |
| 209 | True if stdin (-) is in the path, otherwise False |
| 210 | """ |
| 211 | return "-" in paths |
| 212 | |
| 213 | |
| 214 | def fnmatch(filename: str, patterns: Sequence[str]) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected