MCPcopy Create free account
hub / github.com/chasingboy/Xtools / read_file

Function read_file

utils.py:258–261  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

256
257
258def read_file(file):
259 with open(file) as fr:
260 text = fr.read().strip('\n')
261 return text
262
263
264def delete_url_path(url):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected