MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / read_file

Function read_file

gitless/tests/utils.py:98–101  ·  view source on GitHub ↗
(fp)

Source from the content-addressed store, hash-verified

96
97
98def read_file(fp):
99 with io.open(fp, mode='r', encoding=ENCODING) as f:
100 ret = f.read()
101 return ret
102
103
104def stdout(p):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected