Skip to main content Link Search Menu Expand Document (external link)

PlatformConfigProvider overview

Added in v1.0.0


Table of contents


constructors

fromFileTree

Signature

export declare const fromFileTree: (options?: {
  readonly rootDirectory?: string
}) => Effect.Effect<ConfigProvider.ConfigProvider, never, FileSystem.FileSystem | Path.Path>

Added in v1.0.0

layers

layerFileTree

Add the file tree ConfigProvider to the environment, replacing the current ConfigProvider.

Signature

export declare const layerFileTree: (options?: {
  readonly rootDirectory?: string
}) => Layer.Layer<never, never, FileSystem.FileSystem | Path.Path>

Added in v1.0.0

layerFileTreeAdd

Add the file tree ConfigProvider to the environment, as a fallback to the current ConfigProvider.

Signature

export declare const layerFileTreeAdd: (options?: {
  readonly rootDirectory?: string
}) => Layer.Layer<never, never, FileSystem.FileSystem | Path.Path>

Added in v1.0.0