Split out a write_contents() function and a vardbapi.removeFromContents()
authorZac Medico <zmedico@gentoo.org>
Tue, 1 Jul 2008 08:10:17 +0000 (08:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 1 Jul 2008 08:10:17 +0000 (08:10 -0000)
commit27c45c6b94e642f5914a9e592b18fba4ffdec1f6
treef8fc8b28a3e66b71a39b9c0cb3696a0125e02ba0
parent28fbecadc0b0fce93df1cc7f7c7b5bf2e4b8fc73
Split out a write_contents() function and a vardbapi.removeFromContents()
function. This is refactoring of code from the blocker file collision
contents handling in dblink.treewalk(). Also, there is a new
dblink._match_contents() method derived from isowner(). It returns the
exact path from the contents file that matches the given path, regardless
of path differences due to things such as symlinks.

svn path=/main/trunk/; revision=10864
pym/portage/dbapi/vartree.py