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

Node fs.GlobOptions TypeScript interface | API Reference | Bun

Node fs.GlobOptions TypeScript interface | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:fs/GlobOptionsPcwdPexcludePwithFileTypes

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:fs/GlobOptionsPcwdPexcludePwithFileTypes

interface

fs.GlobOptionsinterface GlobOptionscwd?: string | URL

Current working directory.

exclude?: readonly string[] | (fileName: string | Direntstring>) => boolean

Function to filter out files/directories or a list of glob patterns to be excluded. If a function is provided, return true to exclude the item, false to include it. If a string array is provided, each string should be a glob pattern that specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are not supported.

withFileTypes?: boolean

true if the glob should return paths as Dirents, false otherwise.

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.GlobOptions TypeScript interface | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for interface node:fs.GlobOptions | Bun