Added the display of the repository size in the source subtab of a project.
This commit is contained in:
@@ -87,6 +87,16 @@ class IDF_Scm
|
||||
return call_user_func(array($scms[$scm], 'factory'), $project);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the size of the repository in bytes.
|
||||
*
|
||||
* @return int Size in byte, -1 if the size cannot be evaluated.
|
||||
*/
|
||||
public function getRepositorySize()
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the URL of the git daemon.
|
||||
*
|
||||
|
Reference in New Issue
Block a user