Creates an executable file at the specified path. :param str file_path: path to create the file at
(file_path)
| 456 | |
| 457 | |
| 458 | def create_hook(file_path): |
| 459 | """Creates an executable file at the specified path. |
| 460 | |
| 461 | :param str file_path: path to create the file at |
| 462 | |
| 463 | """ |
| 464 | util.safe_open(file_path, mode="w", chmod=0o744).close() |
| 465 | |
| 466 | |
| 467 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…