MCPcopy
hub / github.com/tickmao/Novel / run_update

Method run_update

scripts/update_readme.py:111–123  ·  view source on GitHub ↗

执行完整的更新流程

(self)

Source from the content-addressed store, hash-verified

109 return False
110
111 def run_update(self) -> bool:
112 """执行完整的更新流程"""
113 print("开始统计书源数量...")
114
115 # 统计各平台书源数量
116 counts = self.get_all_source_counts()
117
118 print("书源统计结果:")
119 print(f" 阅读 (Legado): {counts['legado']} 个")
120 print(f" 香色闺阁: {counts['xsreader']} 个")
121
122 # 更新 README
123 return self.update_readme(counts)
124
125def main():
126 import argparse

Callers 2

mainFunction · 0.95
sync_public_statsMethod · 0.45

Calls 2

get_all_source_countsMethod · 0.95
update_readmeMethod · 0.95

Tested by

no test coverage detected