/** * Get the SHA-1 base 36 hash of the file * * @return string */ function getSha1() { $this->assertRepoDefined(); return $this->repo->getFileSha1($this->getPath()); }