mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Rust: Add diagnostic query for successfully extracted files.
This commit is contained in:
13
rust/ql/src/queries/diagnostics/ExtractedFiles.ql
Normal file
13
rust/ql/src/queries/diagnostics/ExtractedFiles.ql
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @name Extracted files
|
||||
* @description Lists all files in the source code directory that were extracted.
|
||||
* @kind diagnostic
|
||||
* @id rust/diagnostics/successfully-extracted-files
|
||||
* @tags successfully-extracted-files
|
||||
*/
|
||||
|
||||
import rust
|
||||
|
||||
from File f
|
||||
where exists(f.getRelativePath())
|
||||
select f, "File successfully extracted."
|
||||
Reference in New Issue
Block a user