Rekindle.Priv (Rekindle v0.1.7)

Copy Markdown View Source

Resolves files owned by an OTP application's priv directory.

Plugins can keep Rust and UI source files in their own package and identify the common root with an {app, root} tuple.

Summary

Types

source()

@type source() :: atom() | {atom(), String.t()}

Functions

path(app, relative)

@spec path(source(), String.t()) :: String.t()

read!(source, relative)

@spec read!(source(), String.t()) :: String.t()