Skip to content

Commit 6f1eca8

Browse files
committed
Rust: Make the QLDoc for fromSource a bit more precise.
1 parent 8d49f26 commit 6f1eca8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rust/ql/lib/codeql/files/FileSystem.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ module Folder = Impl::Folder;
3838

3939
/** A file. */
4040
class File extends Container, Impl::File {
41-
/** Holds if this file was extracted from ordinary source code. */
41+
/**
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+
*/
4245
predicate fromSource() {
4346
exists(ExtractorStep s | s.getAction() = "Extract" and s.getFile() = this)
4447
}

0 commit comments

Comments
 (0)