Files
codeql/rust/ql/test/extractor-tests/File/File.ql
2024-11-28 12:02:57 +01:00

8 lines
196 B
Plaintext

import rust
from File f, string fromSource
where
exists(f.getRelativePath()) and
if f.fromSource() then fromSource = "fromSource: yes" else fromSource = "fromSource: no"
select f, fromSource