MCPcopy Create free account
hub / github.com/microsoft/debugpy / project_root

Function project_root

src/debugpy/_vendored/__init__.py:29–37  ·  view source on GitHub ↗

Return the path the root dir of the vendored project. If "project" is an empty string then the path prefix for vendored projects (e.g. "debugpy/_vendored/") will be returned.

(project)

Source from the content-addressed store, hash-verified

27
28
29def project_root(project):
30 """Return the path the root dir of the vendored project.
31
32 If "project" is an empty string then the path prefix for vendored
33 projects (e.g. "debugpy/_vendored/") will be returned.
34 """
35 if not project:
36 project = ""
37 return os.path.join(VENDORED_ROOT, project)
38
39
40def iter_project_files(project, relative=False, **kwargs):

Callers 4

list_allFunction · 0.85
iter_project_filesFunction · 0.85
check_modulesFunction · 0.85
vendoredFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…