зеркало из https://github.com/github/codeql.git
16 строки
386 B
Plaintext
16 строки
386 B
Plaintext
/**
|
|
* Provides shared predicates related to contextual queries in the code viewer.
|
|
*/
|
|
|
|
import semmle.files.FileSystem
|
|
private import codeql.util.FileSystem
|
|
|
|
/**
|
|
* Returns the `File` matching the given source file name as encoded by the VS
|
|
* Code extension.
|
|
*/
|
|
cached
|
|
File getFileBySourceArchiveName(string name) {
|
|
result = IdeContextual<File>::getFileBySourceArchiveName(name)
|
|
}
|