View Source Liquex.FileSystem protocol (liquex v0.13.0)

Behaviour for file system access used by the render tag.

Summary

Types

t()

All the types that implement this protocol.

Functions

Read a template from the filesystem

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

read_template_file(file_system, template_path)

View Source
@spec read_template_file(term(), String.t()) :: String.t() | no_return()

Read a template from the filesystem