MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / load_text

Method load_text

codewiki/src/utils.py:40–43  ·  view source on GitHub ↗

Load text content from file.

(filepath: str)

Source from the content-addressed store, hash-verified

38 f.write(content)
39
40 @staticmethod
41 def load_text(filepath: str) -> str:
42 """Load text content from file."""
43 with open(filepath, "r", encoding="utf-8") as f:
44 return f.read()
45
46

Callers 6

get_file_titleFunction · 0.80
indexFunction · 0.80
serve_docFunction · 0.80
serve_generated_docsMethod · 0.80
format_user_promptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected