MCPcopy Index your code
hub / github.com/python/cpython / path

Function path

Lib/importlib/resources/_functional.py:35–37  ·  view source on GitHub ↗

Return the path to the *resource* as an actual file system path.

(anchor, *path_names)

Source from the content-addressed store, hash-verified

33
34
35def path(anchor, *path_names):
36 """Return the path to the *resource* as an actual file system path."""
37 return as_file(_get_resource(anchor, path_names))
38
39
40def is_resource(anchor, *path_names):

Callers

nothing calls this directly

Calls 2

as_fileFunction · 0.85
_get_resourceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…