Function: executeFsGlobSource()
ts
function executeFsGlobSource(
node,
_input,
ctx
): Promise<ResolvedSourceArtifact<readonly object[]>>;Defined in: fs/src/executors/fs-source-executors.ts:51
Loads all UTF-8 files matching node.pattern in lexicographical order for an FsGlobSourceNode (fs:glob-source).
Resolves against the host repository root when ctx.scopeHandle is omitted, or against ctx.scopeHandle.worktreePath when computing in-run grounding diffs (SPEC.md §4.3).
Parameters
| Parameter | Type | Description |
|---|---|---|
node | FsGlobSourceNode | Passive glob source AST node. |
_input | void | Unused source executor input parameter. |
ctx | ResolutionContext | Source resolution context with optional scopeHandle. |
Returns
Promise<ResolvedSourceArtifact<readonly object[]>>
Matched { path, content } records paired with their combined SHA-256 digest.