pkgcore.resolver.state module¶
- class pkgcore.resolver.state.add_backref_op(choices, pkg, force=False)[source]¶
Bases:
base_op_state
- desc = 'backref'¶
- internal = True¶
- class pkgcore.resolver.state.add_hardref_op(restriction)[source]¶
Bases:
base_op_state
- choices = None¶
- desc = 'hardref'¶
- force = True¶
- internal = True¶
- pkg = None¶
- restriction¶
- class pkgcore.resolver.state.add_op(choices, pkg, force=False)[source]¶
Bases:
base_op_state
- desc = 'add'¶
- class pkgcore.resolver.state.base_op_state(choices, pkg, force=False)[source]¶
Bases:
object
- choices¶
- force¶
- internal = False¶
- pkg¶
- class pkgcore.resolver.state.blocker_base_op(choices, blocker, key=None)[source]¶
Bases:
object
- blocker¶
- choices¶
- desc = None¶
- internal = True¶
- key¶
- class pkgcore.resolver.state.decref_forward_block_op(choices, blocker, key=None)[source]¶
Bases:
blocker_base_op
- class pkgcore.resolver.state.incref_forward_block_op(choices, blocker, key=None)[source]¶
Bases:
blocker_base_op
- class pkgcore.resolver.state.plan_state[source]¶
Bases:
object
- add_blocker(choices, blocker, key=None)[source]¶
Adds blocker, returning any packages blocked.
- Parameters:
choices (
pkgcore.resolver.choice_point.choice_point
) – package choices
- property current_state¶
- class pkgcore.resolver.state.remove_op(choices, pkg, force=False)[source]¶
Bases:
base_op_state
- desc = 'remove'¶