Example #1
0
	def __init__(self, path, model):
		self.name, self.path = utils.canon_path(path)
		self.model = model
		self.pfile = self.model.get_pfile(path)
		self.type = self.pfile.type
		self.timestamp = self.pfile.timestamp()
		self.modstamp = self.pfile.modstamp()
Example #2
0
	def _setup(self, path, model):
		self.name, self.path = utils.canon_path(path)
		self.model = model