Ejemplo n.º 1
0
 /**
  * Return a singleton for the repo at $IP
  * @return GitInfo
  */
 public static function repo()
 {
     global $IP;
     if (is_null(self::$repo)) {
         self::$repo = new self($IP);
     }
     return self::$repo;
 }