def get_current_timestamp(self): """Return timestamp of current HEAD commit :return: HEAD commit timestamp :rtype: str """ repo = ProjectRepo(self.full_path(), self.remote, self.ref) return repo.get_current_timestamp()
def get_current_timestamp(self): """Clone project or update latest from upstream""" repo = ProjectRepo(self.full_path(), self._remote, self._ref) return repo.get_current_timestamp()