mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Rust: Make the QLDoc for fromSource a bit more precise.
This commit is contained in:
@@ -38,7 +38,10 @@ module Folder = Impl::Folder;
|
|||||||
|
|
||||||
/** A file. */
|
/** A file. */
|
||||||
class File extends Container, Impl::File {
|
class File extends Container, Impl::File {
|
||||||
/** Holds if this file was extracted from ordinary source code. */
|
/**
|
||||||
|
* Holds if this file was extracted from the source code of the target project
|
||||||
|
* (rather than another location such as inside a dependency).
|
||||||
|
*/
|
||||||
predicate fromSource() {
|
predicate fromSource() {
|
||||||
exists(ExtractorStep s | s.getAction() = "Extract" and s.getFile() = this)
|
exists(ExtractorStep s | s.getAction() = "Extract" and s.getFile() = this)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user