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

File update_file.py

tools/python-3.11.9-amd64/Tools/scripts/update_file.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2A script that replaces an old file with a new one, only if the contents
3actually changed. If not, the new file is simply deleted.
4

Callers

nothing calls this directly

Calls 6

varsFunction · 0.85
update_file_with_tmpfileFunction · 0.85
add_argumentMethod · 0.45
parse_argsMethod · 0.45
popMethod · 0.45
exitMethod · 0.45

Tested by

no test coverage detected