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)
| 27 | |
| 28 | |
| 29 | def 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 | |
| 40 | def iter_project_files(project, relative=False, **kwargs): |
no test coverage detected
searching dependent graphs…