Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ make_writable
Function
make_writable
tools/utils.py:146–149 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
144
145
146
def
make_writable(filename):
147
assert os.path.exists(filename)
148
old_mode = stat.S_IMODE(os.stat(filename).st_mode)
149
os.chmod(filename, old_mode | stat.S_IWUSR)
150
151
152
def
safe_copy(src, dst):
Callers
1
safe_copy
Function · 0.85
Calls
1
exists
Method · 0.80
Tested by
no test coverage detected