CodeQL library for GitHub Actions
codeql/actions-all 0.4.27-dev (changelog, source)
Search

Predicate isSubpath

Holds if the path cache_path is a subpath of the path untrusted_path.

Import path

import actions
predicate isSubpath(string subpath, string path)