CodeQL library for Python
codeql/python-all 4.0.7 (changelog, source)
Search

Module signature Make::Folder::ResolveSig

Signature for modules to pass to Resolve.

Import path

import codeql.util.FileSystem

Predicates

allowGlobs

Holds if globs should be interpreted in the paths being resolved.

getAnAdditionalChild

Gets an additional file or folder to consider a child of base.

isOptionalPathComponent

Holds if component may be treated as . if it does not match a child.

rewritePathSegment

Gets an alternative path segment to try if segment did not match a child.

shouldResolve

Holds if path should be resolved to a file or folder, relative to base.