Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'

This commit is contained in:
-Puter
2026-07-19 03:25:18 +05:30
parent dd1071cc10
commit 2daf979036
2214 changed files with 673090 additions and 0 deletions
@@ -0,0 +1,20 @@
/**
* Bun layer for Effect's `FileSystem` service.
*
* This module exposes one `layer` that provides `FileSystem` in Bun by using
* the shared Node file-system implementation. Once the layer is provided,
* programs use the standard `effect/FileSystem` service operations.
*
* @since 4.0.0
*/
import * as NodeFileSystem from "@effect/platform-node-shared/NodeFileSystem"
import type { FileSystem } from "effect/FileSystem"
import type * as Layer from "effect/Layer"
/**
* Layer that provides the `FileSystem` service for Bun using the shared Node file-system implementation.
*
* @category layers
* @since 4.0.0
*/
export const layer: Layer.Layer<FileSystem, never, never> = NodeFileSystem.layer