d78fcde6b026832a83034c8e2cc149b28c67bc2f
[gwvp.git] / gwvplib / gwvpgitcontrol.php
1 <?php
2
3 function gwvp_repoExists($name)
4 {
5         global $repo_base;
6         
7         if(file_exists("$repo_base/$name.git")) return true;
8         else return false;
9 }
10
11 function gwvp_createGitRepo($name)
12 {
13         global $repo_base;
14         
15         error_log("would create $repo_base/$name.git");
16         
17         return true;
18 }
19 ?>