temporary-root.ts
This file
Path
packages/artifacts/test/temporary-root.ts
8 lines · 293 bytes · TypeScript
Last changed by
Merge build/comments-packages-rest into mainoscabrielbefore adoption38cd503
History of this fileTake it
The walk stopped after 200 commits: lines older than 678c8b8 point at it.
Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 1–8why, one step back1import { NodeServices } from "@effect/platform-node";2import { Effect, FileSystem } from "effect";34export const temporaryRoot = FileSystem.FileSystem.pipe(5 Effect.flatMap((fs) => fs.makeTempDirectoryScoped({ prefix: "repo-host-" })),6 Effect.orDie,7 Effect.provide(NodeServices.layer)8);