mirror of
https://github.com/github/codeql.git
synced 2025-12-27 22:26:31 +01:00
Tag the successfully extracted files queries with `successfully-extracted-files` to make them easier to identify programmatically in a language-independent way. This follows the prior art for lines of code queries, which are tagged `lines-of-code`.
17 lines
465 B
Plaintext
17 lines
465 B
Plaintext
/**
|
|
* @name Successfully extracted files
|
|
* @description Lists all files in the source code directory that were extracted without encountering a problem in the file.
|
|
* @kind diagnostic
|
|
* @id cpp/diagnostics/successfully-extracted-files
|
|
* @tags successfully-extracted-files
|
|
*/
|
|
|
|
import cpp
|
|
import ExtractionProblems
|
|
|
|
from File f
|
|
where
|
|
not exists(ExtractionProblem e | e.getFile() = f) and
|
|
exists(f.getRelativePath())
|
|
select f, "File successfully extracted."
|