mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Python: Model posixpath, ntpath, and genericpath modules
This commit is contained in:
@@ -34,3 +34,11 @@ path.isfile("filepath") # $ getAPathArgument="filepath"
|
||||
path.isdir("filepath") # $ getAPathArgument="filepath"
|
||||
path.islink("filepath") # $ getAPathArgument="filepath"
|
||||
path.ismount("filepath") # $ getAPathArgument="filepath"
|
||||
|
||||
import posixpath
|
||||
import ntpath
|
||||
import genericpath
|
||||
|
||||
posixpath.exists("filepath") # $ getAPathArgument="filepath"
|
||||
ntpath.exists("filepath") # $ getAPathArgument="filepath"
|
||||
genericpath.exists("filepath") # $ getAPathArgument="filepath"
|
||||
|
||||
Reference in New Issue
Block a user