Packages

Elixir template generator

Current section

Files

Jump to
template_generator lib path adapters template_file.ex
Raw

lib/path/adapters/template_file.ex

defmodule Generator.Path.Adapters.TemplateFile do
@moduledoc """
Project template file resolutions
"""
alias Generator.Path.Schemas.TemplateFile
@doc """
Build a new template file representation
"""
@spec build(Path.t(), Path.t()) :: TemplateFile.t()
def build(from_path, to_path) do
%TemplateFile{
from_path: from_path,
to_path: to_path
}
end
end