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

Behaviour for file system access used by the render tag.

Link to this section Summary

Types

t()

All the types that implement this protocol.

Functions

Read a template from the filesystem

Link to this section Types

Specs

t() :: term()

All the types that implement this protocol.

Link to this section Functions

Link to this function

read_template_file(file_system, template_path)

View Source

Specs

read_template_file(term(), String.t()) :: String.t() | no_return()

Read a template from the filesystem