CodeQL library for C/C++
codeql/cpp-all 2.1.1 (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()