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