Expand description
Resolving a recipe name or path to a file on disk, and walking a whole collection of them.
Constants§
- REFERENCE_
SEPARATOR - Re-exported from
cooklang_format, which is where the writers that depend on this spelling now live. The separator a recipe reference’s path is built and reported with.
Functions§
- get_
recipe - Look
nameup underbase_path, returning the file it resolves to. - is_
safe_ relative_ path - Whether
path, joined to a directory, is sure to stay inside it. - resolve_
reference - Resolve a recipe reference to a path relative to the collection root.