MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / main

Function main

tools/python-3.11.9-amd64/Tools/scripts/deepfreeze.py:499–508  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

497
498
499def main() -> None:
500 global verbose
501 args = parser.parse_args()
502 verbose = args.verbose
503 output = args.output
504 with open(output, "w", encoding="utf-8") as file:
505 with report_time("generate"):
506 generate(args.args, file)
507 if verbose:
508 print(f"Wrote {os.path.getsize(output)} bytes to {output}")
509
510
511if __name__ == "__main__":

Callers 1

deepfreeze.pyFile · 0.70

Calls 6

report_timeFunction · 0.85
generateFunction · 0.70
openFunction · 0.50
printFunction · 0.50
parse_argsMethod · 0.45
getsizeMethod · 0.45

Tested by

no test coverage detected