CodeQL library for JavaScript
codeql/javascript-all 0.2.3 (changelog, source)
Search

Member predicate PathString::resolveUpTo

Gets the absolute path that the sub-path consisting of the first n components of this path refers to when resolved relative to the given root folder.

Path resolveUpTo(int n, Folder root)