CodeQL library for Go
codeql/go-all 0.7.15-dev (changelog, source)
Search

Member predicate GoModDependency::originalInfo

Holds if this require line originally states dependency path had version v.

The actual info of this dependency can change based on replace directives in the same go.mod file, which replace a dependency with another one.

predicate originalInfo(string path, string v)