Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/scancode-toolkit
/ write_file
Function
write_file
src/licensedcode/license_db.py:33–34 ·
view source on GitHub ↗
(path, filename, content)
Source
from the content-addressed store, hash-verified
31
32
33
def
write_file(path, filename, content):
34
path.joinpath(filename).open(
"w"
).write(content)
35
36
37
def
now():
Callers
3
generate_indexes
Function · 0.70
generate_details
Function · 0.70
generate_help
Function · 0.70
Calls
2
write
Method · 0.45
open
Method · 0.45
Tested by
no test coverage detected