Module subplot::resource

source ·
Expand description

Resources for subplot.

This module encapsulates a mechanism for subplot to find resource files. Resource files come from a number of locations, such as embedded into the binary, from template paths given on the CLI, or from paths built into the binary and present on disk.

Structs

Functions

  • Put a path at the back of the queue to search in
  • Retrieve the embedded file list
  • Read a file, honouring search paths established during startup, and falling back to potentially embedded file content