craft_parts.executor.part_handler module¶
Definitions and helpers for part handlers.
- class craft_parts.executor.part_handler.PartHandler(part, *, part_info, part_list, track_stage_packages=False, overlay_manager, ignore_patterns=None, base_layer_hash=None, build_environment=None)¶
Bases:
objectHandle lifecycle steps for a part.
- Parameters:
part (
Part) – The part being processed.part_info (
PartInfo) – Information about the part being processed.track_stage_packages (
bool)overlay_manager (
OverlayManager)
- clean_step(step)¶
Remove the work files and the state of the given step.