DirenvConfig.Store (direnv_config v0.1.0)

Copy Markdown View Source

Summary

Functions

active_path(store, name)

@spec active_path(String.t(), String.t()) :: String.t()

ensure_config(store, name)

@spec ensure_config(String.t(), String.t()) :: {:ok, String.t()}

ensure_store(directory)

@spec ensure_store(String.t()) :: {:ok, String.t()}

find_current_store(start_dir \\ nil)

@spec find_current_store(String.t() | nil) :: {:ok, String.t()} | {:error, :not_found}

layer_path(store, name, layer)

@spec layer_path(String.t(), String.t(), String.t()) :: String.t()

path_to_hash(dir)

@spec path_to_hash(String.t()) :: String.t()

state_dir()

@spec state_dir() :: String.t()

store_path(dir)

@spec store_path(String.t()) :: String.t()