MCPcopy Index your code
hub / github.com/RustPython/RustPython / construct_lib_path

Function construct_lib_path

scripts/update_lib/file_utils.py:173–175  ·  view source on GitHub ↗

Build a path under prefix/Lib/.

(prefix: str, *parts: str)

Source from the content-addressed store, hash-verified

171
172
173def construct_lib_path(prefix: str, *parts: str) -> pathlib.Path:
174 """Build a path under prefix/Lib/."""
175 return pathlib.Path(prefix) / "Lib" / pathlib.Path(*parts)
176
177
178def resolve_test_path(

Callers 4

_expand_shortcutFunction · 0.90
get_lib_pathsFunction · 0.90
get_all_hard_depsFunction · 0.90
get_test_pathsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected