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

Function _make_src

tests/test_postprocess_ubuntu_archive.py:15–20  ·  view source on GitHub ↗

Create a minimal source directory with man1/ and man8/.

(tmp_path: Path)

Source from the content-addressed store, hash-verified

13
14
15def _make_src(tmp_path: Path) -> Path:
16 """Create a minimal source directory with man1/ and man8/."""
17 src = tmp_path / "src"
18 (src / "man1").mkdir(parents=True)
19 (src / "man8").mkdir(parents=True)
20 return src
21
22
23def _write(path: Path, content: str = "content") -> None:

Calls

no outgoing calls

Tested by

no test coverage detected