1import { mkdirSync } from 'fs'2import { ptDir } from '../ptDirF.mts'34export const ptTmpDir = `${ptDir}/tmp`56let ensured = false7export const ensurePtTmpDir = () => {8 if (ensured) return9 mkdirSync(ptTmpDir, { recursive: true })10 ensured = true11}12