Rindle.Storage.Local (Rindle v0.1.5)

Copy Markdown View Source

Local filesystem storage adapter.

Summary

Functions

Resolves a storage key to an expanded filesystem path under the configured root.

Returns the expanded local storage root for the given opts.

Functions

path_for(key, opts)

@spec path_for(
  String.t(),
  keyword()
) :: String.t()

Resolves a storage key to an expanded filesystem path under the configured root.

root(opts)

@spec root(keyword()) :: String.t()

Returns the expanded local storage root for the given opts.