Module generation

Module generation 

Source
Expand description

Code generation outputs and file management.

This module provides utilities for managing generated output:

Structs§

BaoToml
The bao.toml configuration file.
DependencyCollector
Tracks package dependencies with versions and features.
DependencySpec
Specification for a package dependency.
FileEntry
An entry in the file registry representing a file to be generated.
FileRegistry
Registry for collecting and managing generated files.
HandlerPaths
Manages handler file paths for a code generator.
ImportCollector
Tracks imports and deduplicates them.
OrphanHandler
Information about an orphaned handler file.
PreviewEntry
A preview entry for displaying what would be generated.
WriteStats
Statistics from a write operation.

Enums§

FileCategory
Category of generated file, determining generation order and behavior.

Functions§

find_orphan_commands
Find orphaned generated command files in a directory.