mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-02 03:15:52 +08:00
add FileSystem (#86)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* @since 1.0.0
|
||||
*/
|
||||
import * as NodeFileSystem from "@effect/platform-node-shared/NodeFileSystem"
|
||||
import type { FileSystem } from "effect/FileSystem"
|
||||
import type { Layer } from "effect/Layer"
|
||||
|
||||
/**
|
||||
* @since 1.0.0
|
||||
* @category layer
|
||||
*/
|
||||
export const layer: Layer<FileSystem> = NodeFileSystem.layer
|
||||
Reference in New Issue
Block a user