Package _emerge :: Module create_world_atom
[hide private]

Module create_world_atom

source code

Functions [hide private]
 
create_world_atom(pkg, args_set, root_config)
Create a new atom for the world file if one does not exist.
source code
Variables [hide private]
  __package__ = '_emerge'

Imports: sys, _repo_separator, InvalidData, _unicode


Function Details [hide private]

create_world_atom(pkg, args_set, root_config)

source code 

Create a new atom for the world file if one does not exist. If the argument atom is precise enough to identify a specific slot then a slot atom will be returned. Atoms that are in the system set may also be stored in world since system atoms can only match one slot while world atoms can be greedy with respect to slots. Unslotted system packages will not be stored in world.