diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-29 02:17:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-29 02:17:07 +0000 |
commit | 30aadb44dcbab33e70d09497533e0a0f8cb3706a (patch) | |
tree | 128bfca753da04f6b7ca2f794b69ec65ad66d8d3 | |
parent | d170ae80cd77899073444dc4f77016ec36825bdf (diff) | |
download | portage-30aadb44dcbab33e70d09497533e0a0f8cb3706a.tar.gz portage-30aadb44dcbab33e70d09497533e0a0f8cb3706a.tar.bz2 portage-30aadb44dcbab33e70d09497533e0a0f8cb3706a.zip |
Add some docs for the blockers cache format.
svn path=/main/trunk/; revision=5412
-rwxr-xr-x | bin/emerge | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 9a3819505..92832317e 100755 --- a/bin/emerge +++ b/bin/emerge @@ -865,7 +865,15 @@ class BlockerCache(DictMixin): Currently, the cache is only written if the user has superuser privileges (since that's required to obtain a lock), but all users have read access and benefit from faster blocker lookups (as long as - the entire cache is still valid).""" + the entire cache is still valid). The cache is stored as a pickled + dict object with the following format: + + { + version : "1", + "blockers" : {cpv1:(counter,(atom1, atom2...)), cpv2...}, + "virtuals" : vardb.settings.getvirtuals() + } + """ if self._modified and \ secpass >= 2: try: |