mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Python: add some path returning functions
that were only listed as file sytem accesses.
This commit is contained in:
@@ -887,7 +887,9 @@ private module Stdlib {
|
||||
/**
|
||||
* Gets a name of a method of a `pathlib.Path` object that returns a `pathlib.Path` object.
|
||||
*/
|
||||
private string pathlibPathMethod() { result in ["absolute", "relative_to"] }
|
||||
private string pathlibPathMethod() {
|
||||
result in ["absolute", "relative_to", "rename", "replace", "resolve"]
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a name of a method of a `pathlib.Path` object that modifies a `pathlib.Path` object based on new data.
|
||||
|
||||
Reference in New Issue
Block a user