Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ write_file
Function
write_file
tools/maint/create_entry_points.py:81–83 ·
view source on GitHub ↗
(filename, content)
Source
from the content-addressed store, hash-verified
79
80
81
def
write_file(filename, content):
82
with
open(filename,
'w'
, encoding=
'utf-8'
)
as
f:
83
f.write(content)
84
85
86
def
main(all_platforms, use_bat_file):
Callers
1
generate_entry_points
Function · 0.70
Calls
2
open
Function · 0.50
write
Method · 0.45
Tested by
no test coverage detected