Skip to content
1 min read · 41 words

Function: createPathTranslator()

ts
function createPathTranslator(
  root: string,
  fileSystem: SandboxFileSystem,
): PathTranslator;

Defined in: src/batteries/sandbox/paths.ts:58

Create a translator that applies the five-step, workspace-relative path policy.

Parameters

ParameterType
rootstring
fileSystemSandboxFileSystem

Returns

PathTranslator