MCPcopy
hub / github.com/idank/explainshell / close_request_store

Function close_request_store

explainshell/web/__init__.py:101–104  ·  view source on GitHub ↗
(exc: BaseException | None)

Source from the content-addressed store, hash-verified

99
100 @app.teardown_appcontext
101 def close_request_store(exc: BaseException | None) -> None:
102 s = g.pop("store", None)
103 if s is not None:
104 s.close()
105
106 # Read the DB SHA256 once at startup. The file is computed at Docker
107 # build time (see Dockerfile); it won't exist in dev unless created

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected