Skip to main content

Module discovery

Module discovery 

Source

Functionsยง

archive_path_for_bean
Compute the archive path for a bean given its ID, slug, and date.
find_archived_bean
Find an archived bean by ID within the .beans/archive/ directory tree.
find_bean_file
Find a bean file by ID, supporting both new and legacy naming conventions.
find_beans_dir
Walk up from start looking for a .beans/ directory. Returns the path to the .beans/ directory if found. Errors if no .beans/ directory exists in any ancestor.