We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d49f26 commit 6f1eca8Copy full SHA for 6f1eca8
rust/ql/lib/codeql/files/FileSystem.qll
@@ -38,7 +38,10 @@ module Folder = Impl::Folder;
38
39
/** A file. */
40
class File extends Container, Impl::File {
41
- /** Holds if this file was extracted from ordinary source code. */
+ /**
42
+ * Holds if this file was extracted from the source code of the target project
43
+ * (rather than another location such as inside a dependency).
44
+ */
45
predicate fromSource() {
46
exists(ExtractorStep s | s.getAction() = "Extract" and s.getFile() = this)
47
}
0 commit comments