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

Function name_section

explainshell/util.py:87–90  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

85
86
87def name_section(path):
88 assert ".gz" not in path
89 name, section = path.rsplit(".", 1)
90 return name, section
91
92
93def _expand_file_lists(paths: list[str]) -> list[str]:

Callers 1

Calls

no outgoing calls

Tested by 1