Package portage :: Package dbapi :: Module vartree :: Class vartree
[hide private]

Class vartree

source code

object --+
         |
        vartree
Known Subclasses:

this tree will scan a var/db/pkg database located at root (passed to init)

Instance Methods [hide private]
 
__init__(self, root=None, virtual=<type 'exceptions.DeprecationWarning'>, categories=None, settings=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getpath(self, mykey, filename=None) source code
 
zap(self, mycpv) source code
 
inject(self, mycpv) source code
 
get_provide(self, mycpv) source code
 
get_all_provides(self) source code
 
dep_bestmatch(self, mydep, use_cache=1)
compatibility method -- all matches, not just visible ones
source code
 
dep_match(self, mydep, use_cache=1)
compatibility method -- we want to see all matches, not just visible ones
source code
 
exists_specific(self, cpv) source code
 
getallcpv(self)
temporary function, probably to be renamed --- Gets a list of all category/package-versions installed on the system.
source code
 
getallnodes(self)
new behavior: these are all *unmasked* nodes.
source code
 
getebuildpath(self, fullpackage) source code
 
getslot(self, mycatpkg)
Get a slot for a catpkg; assume it exists.
source code
 
populate(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  root

Inherited from object: __class__

Method Details [hide private]

__init__(self, root=None, virtual=<type 'exceptions.DeprecationWarning'>, categories=None, settings=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getallnodes(self)

source code 

new behavior: these are all *unmasked* nodes. There may or may not be available masked package for nodes in this nodes list.


Property Details [hide private]

root

Get Method:
unreachable.root(self)