MCPcopy Create free account
hub / github.com/SnailDev/github-hot-hub / handleArchiveMd

Function handleArchiveMd

main.py:92–96  ·  view source on GitHub ↗
(md)

Source from the content-addressed store, hash-verified

90
91
92def handleArchiveMd(md):
93 logger.debug('archive md:%s', md)
94 name = '{}.md'.format(util.current_date())
95 file = os.path.join('archives', name)
96 util.write_text(file, md)
97
98
99def run():

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected