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().