CodeQL library for Ruby
codeql/ruby-all 4.1.6 (changelog, source)
Search

Predicate signature Make::Folder::ResolveSig::rewritePathSegment

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

The motivating use-case is to map compiler-generated file names back to their sources files, for example, foo.min.js could be mapped to foo.ts.

signature string rewritePathSegment(string segment)