Expand description
Code generation outputs and file management.
This module provides utilities for managing generated output:
HandlerPaths- Handler file path computation and orphan detectionImportCollector- Import tracking and deduplicationDependencyCollector- Package dependency trackingBaoToml- bao.toml configuration file generationFileRegistry- Declarative file registration and generation
Structs§
- BaoToml
- The bao.toml configuration file.
- Dependency
Collector - Tracks package dependencies with versions and features.
- Dependency
Spec - Specification for a package dependency.
- File
Entry - An entry in the file registry representing a file to be generated.
- File
Registry - Registry for collecting and managing generated files.
- Handler
Paths - Manages handler file paths for a code generator.
- Import
Collector - Tracks imports and deduplicates them.
- Orphan
Handler - Information about an orphaned handler file.
- Preview
Entry - A preview entry for displaying what would be generated.
- Write
Stats - Statistics from a write operation.
Enums§
- File
Category - Category of generated file, determining generation order and behavior.
Functions§
- find_
orphan_ commands - Find orphaned generated command files in a directory.