Skip to content

Commit 149b235

Browse files
committed
Python: delete unused predicate
1 parent cb61f87 commit 149b235

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

python/ql/lib/semmle/python/frameworks/Asyncpg.qll

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ private module Asyncpg {
4444
}
4545
}
4646

47-
/** Reverse lokup of the path argument name for a method accessing the file system. */
48-
private string fileAccessMethodName(string pathArg) {
49-
result in ["copy_from_query", "copy_from_table"] and
50-
pathArg = "output"
51-
or
52-
result = "copy_to_table" and
53-
pathArg = "source"
54-
}
55-
5647
/** `Connection`s and `ConnectionPool`s provide some methods that access the file system. */
5748
class FileAccessOnConnection extends FileSystemAccess::Range, DataFlow::MethodCallNode {
5849
string methodName;

0 commit comments

Comments
 (0)