Skip to main content

Module discovery

Module discovery 

Source

Functions§

archive_path_for_unit
Compute the archive path for a unit given its ID, slug, and date.
find_archived_unit
Find an archived unit by ID within the .mana/archive/ directory tree.
find_mana_dir
Walk up from start looking for a .mana/ directory. Returns the path to the .mana/ directory if found. Errors if no .mana/ directory exists in any ancestor.
find_unit_file
Find a unit file by ID, supporting both new and legacy naming conventions.