mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Python: Address a few more review comments.
This commit is contained in:
3
python/ql/src/external/ExternalArtifact.qll
vendored
3
python/ql/src/external/ExternalArtifact.qll
vendored
@@ -38,7 +38,8 @@ class ExternalData extends @externalDataElement {
|
||||
/** Gets the path of the file this data was loaded from. */
|
||||
string getDataPath() { externalData(this, result, _, _) }
|
||||
|
||||
/** Gets the path fo the file this data was loaded from, with its
|
||||
/**
|
||||
* Gets the path of the file this data was loaded from, with its
|
||||
* extension replaced by `.ql`.
|
||||
*/
|
||||
string getQueryPath() { result = getDataPath().regexpReplaceAll("\\.[^.]*$", ".ql") }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/** Contains the internal IPA type backing the various values tracked by the points-to implementation. */
|
||||
/** Contains the internal algebraic datatype backing the various values tracked by the points-to implementation. */
|
||||
|
||||
import python
|
||||
private import semmle.python.types.Builtins
|
||||
|
||||
Reference in New Issue
Block a user