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
39 @staticmethod
40 def load_text(filepath: str) -> str:
41 """Load text content from file."""
42 with open(filepath, 'r', encoding='utf-8') as f:
43 return f.read()
44
45file_manager = FileManager()

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