formatHost

tcmts.core.program.formatHost · #bov5gnbq · term · runs on the server

uses tcmts.core.program.currentDirectory, which uses node:fs

import { currentDirectory } from "#codebase/tcmts/core/program";

export const formatHost = {
  getCanonicalFileName: (f: string) => f,
  getCurrentDirectory: () => currentDirectory(),
  getNewLine: () => "\n",
}

uses

used by