示例#1
0
文件: scan.py 项目: rrozestw/portage
	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
示例#2
0
	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="./"))
示例#3
0
 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="./"
         )
     )