MCPcopy Index your code
hub / github.com/idank/explainshell / manpage_sections

Function manpage_sections

explainshell/web/views.py:110–118  ·  view source on GitHub ↗

List available sections for a distro/release.

(distro, release)

Source from the content-addressed store, hash-verified

108
109@debug_bp.route("/manpage/<distro>/<release>/")
110def manpage_sections(distro, release):
111 """List available sections for a distro/release."""
112 sections = get_store().list_sections(distro, release)
113 return render_template(
114 "manpage_sections.html",
115 distro=distro,
116 release=release,
117 sections=sections,
118 )
119
120
121@debug_bp.route("/manpage/<distro>/<release>/<section>/")

Callers

nothing calls this directly

Calls 2

get_storeFunction · 0.90
list_sectionsMethod · 0.80

Tested by

no test coverage detected