CodeQL library for Java/Kotlin
codeql/java-all 5.0.1-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()