Example #1
0
 /**
  * Get the filename hash component of the directory including trailing slash,
  * e.g. f/fa/
  * If the repository is not hashed, returns an empty string.
  *
  * @return string
  */
 function getHashPath()
 {
     if (!isset($this->hashPath)) {
         $this->assertRepoDefined();
         $this->hashPath = $this->repo->getHashPath($this->getName());
     }
     return $this->hashPath;
 }