Git.vala
authorAlan Knowles <alan@roojs.com>
Thu, 28 Feb 2019 09:16:08 +0000 (17:16 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 Feb 2019 09:16:08 +0000 (17:16 +0800)
Git.vala

index 545e480..a9cf2f7 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -14,6 +14,15 @@ namespace  Git {
                        this.repo = Ggit.Repository.open(GLib.File.new_for_path(path));
                
                }
+               public void test()
+               {
+                       var ar = this.repo.list_remotes();
+                       foreach(var n in ar) {
+                               GLib.debug("got remote %s", n);
+                               var r = this.repo.lookup_remote(n);
+                       }
+               
+               }