Companion

object Companion

Factory functions for each TemplateSource variant.

Functions

Link copied to clipboard

Content held in memory; see Bytes.

Link copied to clipboard

Content read from a local file; see File.

Link copied to clipboard

References an existing Carbone template by TemplateId; see Remote.

References an existing Carbone template by its string id; see Remote.

Link copied to clipboard

SHA-256 of bytes, hex encoded (lowercase).

Link copied to clipboard

Content read lazily from a stream opened by open; see Stream.