Ask the daemon to recheck the previous list of files, with optional modifications. If at least one of --remove or --update is given, the server will update the list of files to check accordingly and assume that any other files are unchanged. If none of these flags are given, the server
(args: argparse.Namespace)
| 473 | |
| 474 | @action(recheck_parser) |
| 475 | def do_recheck(args: argparse.Namespace) -> None: |
| 476 | """Ask the daemon to recheck the previous list of files, with optional modifications. |
| 477 | |
| 478 | If at least one of --remove or --update is given, the server will |
| 479 | update the list of files to check accordingly and assume that any other files |
| 480 | are unchanged. If none of these flags are given, the server will call stat() |
| 481 | on each file last checked to determine its status. |
| 482 | |
| 483 | Files given in --update ought to exist. Files given in --remove need not exist; |
| 484 | if they don't they will be ignored. |
| 485 | The lists may be empty but oughtn't contain duplicates or overlap. |
| 486 | |
| 487 | NOTE: The list of files is lost when the daemon is restarted. |
| 488 | """ |
| 489 | t0 = time.time() |
| 490 | if args.remove is not None or args.update is not None: |
| 491 | response = request( |
| 492 | args.status_file, |
| 493 | "recheck", |
| 494 | export_types=args.export_types, |
| 495 | remove=args.remove, |
| 496 | update=args.update, |
| 497 | ) |
| 498 | else: |
| 499 | response = request(args.status_file, "recheck", export_types=args.export_types) |
| 500 | t1 = time.time() |
| 501 | response["roundtrip_time"] = t1 - t0 |
| 502 | check_output(response, args.verbose, args.junit_xml, args.perf_stats_file) |
| 503 | |
| 504 | |
| 505 | @action(suggest_parser) |
nothing calls this directly
no test coverage detected
searching dependent graphs…