def sha(self): """ get the sha of this blob, compute lazily if necessary """ if self._sha is None: self._sha = SHABuilder(self.bytes).sha() return self._sha
def sha(self): sh = SHABuilder() sh += self.name sh += str(self.type) sh += str(self.hasMain) return sh.sha()
def sha(self): if self._sha is None: self._sha = SHABuilder(self.binary).sha() return self._sha
def sha(self): sh = SHABuilder() sh += Cell.sha(self) sh += (str(self.dependencies)) return sh.sha()