1 |
On Mon, 09 Jun 2008 17:36:14 -0300 |
2 |
João Macaíba <joao.macaiba@×××××.com> wrote: |
3 |
|
4 |
> May someone give me some help on this ? How does portage do the |
5 |
> searchs ? Walk into the ports tree and build some structure or store |
6 |
> this info on some embedded database like berkeley db or sqlite ? |
7 |
|
8 |
You're probably looking for the portdbapi class defined in |
9 |
pym/portage.py (or pym/portage/dbapi/porttree.py in 2.2), in particular |
10 |
the cp_all(), cpv_all(), cp_list() and aux_get() methods. |
11 |
|
12 |
Marius |
13 |
-- |
14 |
gentoo-portage-dev@l.g.o mailing list |