Current working directory.
Node fs.GlobOptions TypeScript interface | API Reference | Bun BuildDocsReferenceGuidesBlogDiscord/node:fs/GlobOptionsPcwdPexcludePwithFileTypes BuildDocsReferenceGuidesBlogDiscord /node:fs/GlobOptionsPcwdPexcludePwithFileTypes fs.GlobOptionsinterface GlobOptionscwd?: string | URL exclude?: readonly string[] | (fileName: string | Direntstring>) => boolean withFileTypes?: boolean
Search the reference...
/
interface
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.
true if the glob should return paths as Dirents, false otherwise.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Node fs.GlobOptions TypeScript interface | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for interface node:fs.GlobOptions | Bun