methodfs.Dir.closeSynccloseSync(): void;Synchronously close the directory's underlying resource handle. Subsequent reads will result in errors.
Synchronously close the directory's underlying resource handle. Subsequent reads will result in errors.