Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
""
"
2
A script that replaces an old file
with
a new one, only
if
the contents
3
actually changed. If not, the new file is simply deleted.
4
Callers
nothing calls this directly
Calls
6
vars
Function · 0.85
update_file_with_tmpfile
Function · 0.85
add_argument
Method · 0.45
parse_args
Method · 0.45
pop
Method · 0.45
exit
Method · 0.45
Tested by
no test coverage detected