Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Method
Function
1 parent 416ed57 commit 07041bbCopy full SHA for 07041bb
1 file changed
go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql
@@ -42,14 +42,14 @@ class OpenFileFun extends Function {
42
/**
43
* The `os.File.Close` function.
44
*/
45
-class CloseFileFun extends Function {
+class CloseFileFun extends Method {
46
CloseFileFun() { this.hasQualifiedName("os.File", "Close") }
47
}
48
49
50
* The `os.File.Sync` function.
51
52
-class SyncFileFun extends Function {
+class SyncFileFun extends Method {
53
SyncFileFun() { this.hasQualifiedName("os.File", "Sync") }
54
55
0 commit comments