@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 23 lines 822 Bytes
Raw
1 /**
2 * Node.js `FileSystem` layer for programs that perform real filesystem I/O.
3 *
4 * The exported layer satisfies the platform-independent `FileSystem` service
5 * with Node-backed operations for files, directories, metadata, permissions,
6 * links, temporary paths, and path watching. Effects still call the service from
7 * `effect/FileSystem`; this module only chooses the Node implementation.
8 *
9 * @stability unstable
10 * @since 4.0.0
11 */
12 import * as NodeFileSystem from "@effect/platform-node-shared/NodeFileSystem"
13 import type { FileSystem } from "effect/FileSystem"
14 import type * as Layer from "effect/Layer"
15
16 /**
17 * Provides the `FileSystem` service backed by Node filesystem APIs.
18 *
19 * @stability unstable
20 * @category layers
21 * @since 4.0.0
22 */
23 export const layer: Layer.Layer<FileSystem> = NodeFileSystem.layer