Packages

Kuddle Config Provider or just general config helpers

Current section

Files

Jump to
kuddle_config lib kuddle config utils.ex
Raw

lib/kuddle/config/utils.ex

defmodule Kuddle.Config.Utils do
@spec resolve_root_path(Config.Provider.config_path() | nil) :: Path.t() | nil
def resolve_root_path(nil) do
nil
end
def resolve_root_path(path) do
Config.Provider.resolve_config_path!(path)
end
end