Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openai/plugins
/ _close_handle
Function
_close_handle
plugins/codex-security/scripts/windows_scan_local_files.py:274–277 ·
view source on GitHub ↗
(handle: int)
Source
from the content-addressed store, hash-verified
272
273
274
def
_close_handle(handle: int) -> None:
275
_require_windows()
276
if
not _CloseHandle(handle):
277
_raise_last_error(
"CloseHandle"
)
278
279
280
def
_create_file(
Callers
2
close
Method · 0.85
open_read_fd
Function · 0.85
Calls
2
_require_windows
Function · 0.85
_raise_last_error
Function · 0.85
Tested by
no test coverage detected