Liquex.FileSystem protocol (liquex v0.15.0)

Copy Markdown View Source

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

t()

@type t() :: term()

All the types that implement this protocol.

Functions

read_template_file(file_system, template_path)

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

Read a template from the filesystem