os.Path.dirclose

Closes the directory referenced by the directory opened by os.Path.diropen().

Syntax

os.Path.dirclose(
   dirhandle INTEGER)
  1. dirhandle is the directory handle of the directory to close.

Usage

This function closes the directory search handle opened with os.Path.diropen().