/[gentoo-src]/portage/pym/dcache.py
Gentoo

Log of /portage/pym/dcache.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 14 01:32:00 2004 UTC (10 years, 1 month ago) by ferringb
Branch: MAIN
CVS Tags: HEAD, portage_041204
Branch point for: portage_2_1
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
make it less noisy.


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 13 21:24:48 2004 UTC (10 years, 1 month ago) by ferringb
Branch: MAIN
Changes since 1.1: +40 -34 lines
Diff to previous 1.1
Updated to make it more memory efficient- slots based, uses weakref
to handle symlink'd dirs.  Still a bit slower, but it's also stat'ing
all directories upto the target directory.  That can probably be removed.
Note, there is a bug in it currently- invalidate isn't a valid node method.
Nobody should hit this though, since dcache is only used in treewalk.
I'll correct it in a few days.CVS:
----------------------------------------------------------------------


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 9 23:20:47 2004 UTC (10 years, 1 month ago) by ferringb
Branch: MAIN
see changelog.  finished moving all filtering logic into listdir, so that the caching method
is strictly that, caching.  removed EmptyOnError from listdir, it's not used, and is buggy-
first level files won't return None when EmptyOnError=False, w/ recursive anything beyond 1st level would.

Updated listdir calls to remove emptyonerror reference.  It wasn't ever used, if it was (in conjunction with
recursive) it would result in a traceback.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20