CodeQL library for Python
codeql/python-all 2.1.3-dev (changelog, source)
Search

Member predicate Make::Container::getRelativePath

Gets the relative path of this file or folder from the root folder of the analyzed source location. The relative path of the root folder itself is the empty string.

This has no result if the container is outside the source root, that is, if the root folder is not a reflexive, transitive parent of this container.

string getRelativePath()