MCPcopy Create free account
hub / github.com/idank/explainshell / health

Function health

explainshell/web/__init__.py:152–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150
151 @app.route("/health")
152 def health():
153 body = dict(health_body)
154 cached = app.extensions.get(STORE_EXTENSION_KEY)
155 if isinstance(cached, CachingStore):
156 body["manpage_cache"] = cached.manpage_cache_info()._asdict()
157 return jsonify(body)
158
159 @app.route("/favicon.ico")
160 def favicon():

Callers

nothing calls this directly

Calls 1

manpage_cache_infoMethod · 0.80

Tested by

no test coverage detected