summaryrefslogtreecommitdiffstats
path: root/pym/repoman/utilities.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-21 08:04:33 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-21 08:04:33 +0000
commit2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c (patch)
tree5e21cbceaf6fef5416e4e4d296b975bebb375a27 /pym/repoman/utilities.py
parent49e5835bb591c28647762b7f362f9af0737b5fff (diff)
downloadportage-2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c.tar.gz
portage-2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c.tar.bz2
portage-2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c.zip
Optimize dblink.isowner() to use fewer stat calls by doing a basename
comparison to try and eliminate the file before resorting to inode comparison. This speeds up the `portageq owners` command as well as the search that is done when collision-protect finds a collision. svn path=/main/trunk/; revision=9363
Diffstat (limited to 'pym/repoman/utilities.py')
0 files changed, 0 insertions, 0 deletions