def scan_cvs(self): tree = cvstree.getentries("./", recursive=1) self.changed = cvstree.findchanged(tree, recursive=1, basedir="./") self.new = cvstree.findnew(tree, recursive=1, basedir="./") if self.options.if_modified == "y": self.removed = cvstree.findremoved(tree, recursive=1, basedir="./") del tree
def _scan(self): '''VCS type scan function, looks for all detectable changes''' self._tree = portage.cvstree.getentries("./", recursive=1) self.changed = cvstree.findchanged(self._tree, recursive=1, basedir="./") self.new = cvstree.findnew(self._tree, recursive=1, basedir="./") self.removed = cvstree.findremoved(self._tree, recursive=1, basedir="./") bin_blob_pattern = re.compile("^-kb$") self.no_expansion = set(portage.cvstree.findoption( self._tree, bin_blob_pattern, recursive=1, basedir="./"))
def _scan(self): """VCS type scan function, looks for all detectable changes""" self._tree = portage.cvstree.getentries("./", recursive=1) self.changed = cvstree.findchanged(self._tree, recursive=1, basedir="./") self.new = cvstree.findnew(self._tree, recursive=1, basedir="./") self.removed = cvstree.findremoved(self._tree, recursive=1, basedir="./") bin_blob_pattern = re.compile("^-kb$") self.no_expansion = set( portage.cvstree.findoption( self._tree, bin_blob_pattern, recursive=1, basedir="./" ) )