Skip to content

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 ​

ParameterTypeDescription
nodeFsGlobSourceNodePassive glob source AST node.
_inputvoidUnused source executor input parameter.
ctxResolutionContextSource resolution context with optional scopeHandle.

Returns ​

Promise<ResolvedSourceArtifact<readonly object[]>>

Matched { path, content } records paired with their combined SHA-256 digest.

Released under the MIT License.