View Source Tempel.Persistence (Tempel v0.2.2)

Link to this section Summary

Link to this section Functions

@spec init(map()) :: map()
Link to this function

save(opts, files_variants)

View Source
@spec save(opts :: map(), [Tempel.Gate.raw_variant()] | Tempel.Gate.raw_variant()) ::
  {:error, reason :: any()} | {:ok, [Tempel.Gate.saved_variant()]}