MCPcopy
hub / github.com/ChinaGodMan/UserScripts / get_new_content

Function get_new_content

utils/update_help.py:10–14  ·  view source on GitHub ↗
(lang_code="")

Source from the content-addressed store, hash-verified

8
9
10def get_new_content(lang_code=""):
11 with open(NEW_CONTENT_PATH, 'r', encoding='utf-8') as file:
12 content = file.read()
13 new_content = format_str(content, lang_code)
14 return new_content
15
16
17def main():

Callers 1

mainFunction · 0.70

Calls 1

format_strFunction · 0.90

Tested by

no test coverage detected