温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/fs/opendir
点击访问原文链接

Node fs.opendir function | API Reference | Bun

Node fs.opendir function | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:fs/opendirNopendir

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:fs/opendirNopendir

namespace

fs.opendirfunction opendir(path: PathLike,cb: (err: null | ErrnoException, dir: Dir) => void): void;

Asynchronously open a directory. See the POSIX opendir(3) documentation for more details.

Creates an fs.Dir, which contains all further functions for reading from and cleaning up the directory.

The encoding option sets the encoding for the path while opening the directory and subsequent read operations.

function opendir(path: PathLike,options: OpenDirOptions,cb: (err: null | ErrnoException, dir: Dir) => void): void;

Asynchronously open a directory. See the POSIX opendir(3) documentation for more details.

Creates an fs.Dir, which contains all further functions for reading from and cleaning up the directory.

The encoding option sets the encoding for the path while opening the directory and subsequent read operations.

namespace opendir

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

Node fs.opendir function | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for namespace node:fs.opendir | Bun