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)[source]¶
Bases:
object
Handle lifecycle steps for a part.
- Parameters:
part (
Part
) – The part being processed.part_info (
PartInfo
) – Information about the part being processed.part_list (
list
[Part
]) – A list containing all parts.track_stage_packages (
bool
)overlay_manager (
OverlayManager
)ignore_patterns (
Optional
[list
[str
]])base_layer_hash (
Optional
[LayerHash
])