mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
Some files that will change in #1736 have been spared. ./build -j4 target/jars/qlformat find ql/cpp/ql -name "*.ql" -print0 | xargs -0 target/jars/qlformat --input find ql/cpp/ql -name "*.qll" -print0 | xargs -0 target/jars/qlformat --input (cd ql && git checkout 'cpp/ql/src/semmle/code/cpp/ir/implementation/**/*SSA*.qll') buildutils-internal/scripts/pr-checks/sync-identical-files.py --latest
16 lines
694 B
Plaintext
16 lines
694 B
Plaintext
import TestPackage
|
|
|
|
// this is a copy of the body of ExternalDependenciesSourceLinks.ql
|
|
/*
|
|
* This query creates the source links for the ExternalDependencies.ql query.
|
|
* Although the entities in question are of the form '/file/path<|>dependency<|>version',
|
|
* the /file/path is a bare string relative to the root of the source archive, and not
|
|
* tied to a particular revision. We need the File entity (the second column here) to
|
|
* recover that information once we are in the dashboard database, using the
|
|
* ExternalEntity.getASourceLink() method.
|
|
*/
|
|
|
|
from File file, int num, string encodedDependency
|
|
where encodedDependencies(file, encodedDependency, num)
|
|
select encodedDependency, file
|