projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35f4fe0
)
RooRepo.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:29:08 +0000
(15:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:29:08 +0000
(15:29 +0800)
RooRepo.vala
patch
|
blob
|
history
diff --git
a/RooRepo.vala
b/RooRepo.vala
index
f75a0ea
..
caa45b1
100644
(file)
--- a/
RooRepo.vala
+++ b/
RooRepo.vala
@@
-43,6
+43,16
@@
public class RooRepo : Object
GLib.debug("ADD project %s : %s : %s", add.id, add.shortname, add.project_id);
return add;
}
+
+ public static void reload() /// has to be called on singleton..
+ {
+ RooRepo.loadcount = 0;
+ RooRepo.init();
+ if (RooRepo.loadcount == 0 ) {
+ RooRepo.load();
+ }
+ }
+
static void load() // only called from above
{