Skip to main content
Dir.prototype.closeSync - fs - Node documentation
method Dir.prototype.closeSync

Usage in Deno

import { Dir } from "node:fs";
Dir.prototype.closeSync(): void

Synchronously close the directory's underlying resource handle. Subsequent reads will result in errors.

Return Type

void
Back to top