Skip to content
1 min read · 53 words

Function: fsScratchWorkspace()

ts
function fsScratchWorkspace(
  options: FsScratchWorkspaceOptions,
): ScratchWorkspaceFactory;

Defined in: src/batteries/media/engines/fs_workspace.ts:86

Construct a ScratchWorkspaceFactory minting per-invocation directories under root.

Parameters

ParameterTypeDescription
optionsFsScratchWorkspaceOptionsThe root directory and fs resolver.

Returns

ScratchWorkspaceFactory

A factory binary engines call once per invocation.