Function: executeFsTextSource()
ts
function executeFsTextSource(
node,
_input,
ctx
): Promise<ResolvedSourceArtifact<string>>;Defined in: fs/src/executors/fs-source-executors.ts:25
Loads UTF-8 text and computes a SHA-256 hex digest for an FsTextSourceNode (fs:text-source).
Resolves node.path against the immutable 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 | FsTextSourceNode | Passive text source AST node. |
_input | void | Unused source executor input parameter. |
ctx | ResolutionContext | Source resolution context with optional scopeHandle. |
Returns
Promise<ResolvedSourceArtifact<string>>
UTF-8 file text paired with its SHA-256 digest.