Checks if --string-pattern is in the list of tokens received form the command line. :param args: :return:
(args: list)
| 37 | |
| 38 | |
| 39 | def _is_string_pattern(args: list) -> bool: |
| 40 | """ |
| 41 | Checks if --string-pattern is in the list of tokens received form the |
| 42 | command line. |
| 43 | |
| 44 | :param args: |
| 45 | :return: |
| 46 | """ |
| 47 | |
| 48 | return len(args) > 0 and '--string-pattern' in args |
| 49 | |
| 50 | |
| 51 | def _is_string_replace(args: list) -> bool: |
no outgoing calls
no test coverage detected
searching dependent graphs…