Files
codeql/rust/ql/integration-tests/subst/file.ql

8 lines
196 B
Plaintext

import rust
from File f, string relative
where
not f.getURL().matches("%/target/intree/%") and
if exists(f.getRelativePath()) then relative = "relative" else relative = ""
select f, relative