MCPcopy 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
274def _close_handle(handle: int) -> None:
275 _require_windows()
276 if not _CloseHandle(handle):
277 _raise_last_error("CloseHandle")
278
279
280def _create_file(

Callers 2

closeMethod · 0.85
open_read_fdFunction · 0.85

Calls 2

_require_windowsFunction · 0.85
_raise_last_errorFunction · 0.85

Tested by

no test coverage detected