Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/fs.ts>Dir#closeSync

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Dir.prototype.closeSync
Re-export
import { Dir } from "https://deno.land/std@0.154.0/node/fs.ts";

Unlike Node, Deno does not require managing resource ids for reading directories, and therefore does not need to close directories when finished reading