Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gitless-vcs/gitless
/ write_file
Function
write_file
gitless/tests/utils.py:85–86 ·
view source on GitHub ↗
(fp, contents='')
Source
from the content-addressed store, hash-verified
83
84
85
def
write_file(fp, contents=
''
):
86
_x_file(
'w'
, fp, contents=contents)
87
88
89
def
append_to_file(fp, contents=
''
):
Callers
nothing calls this directly
Calls
1
_x_file
Function · 0.85
Tested by
no test coverage detected