Added a DB backend for the Git blob info.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user