CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (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)