Function: createFsGlobMatcherBuilder()
ts
function createFsGlobMatcherBuilder(globs, mode?): FsGlobMatcherNode;Defined in: fs/src/builders/create-fs-glob-matcher-builder.ts:14
Compiles a passive FsGlobMatcherNode (fs:match-globs) for fs.matchGlobs(globs, mode).
Matches FsToolEffect paths against exact normalized file paths and POSIX glob patterns for reactive when.effects triggers and capability lease matching.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
globs | readonly string[] | undefined | Glob patterns or exact normalized file paths to match. |
mode? | "read" | "write" | "any" | 'write' | Access mode filter ('read' | 'write' | 'any'). |
Returns
Deeply frozen FsGlobMatcherNode AST descriptor.