Added a DB backend for the Git blob info.

This commit is contained in:
Loic d'Anterroches
2009-04-21 17:45:35 +02:00
parent 86da0c0eed
commit aab8720cac
4 changed files with 243 additions and 30 deletions

View File

@@ -55,6 +55,11 @@ class IDF_Scm
*/
public $repo = '';
/**
* Corresponding project object.
*/
public $project = null;
/**
* Cache storage.
*
@@ -64,6 +69,15 @@ class IDF_Scm
*/
protected $cache = array();
/**
* Default constructor.
*/
public function __construct($repo, $project=null)
{
$this->repo = $repo;
$this->project = $project;
}
/**
* Returns an instance of the correct scm backend object.
*