projects
/
gruntmaster-data.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add lastjob
[gruntmaster-data.git]
/
lib
/
Gruntmaster
/
Data.pm
diff --git
a/lib/Gruntmaster/Data.pm
b/lib/Gruntmaster/Data.pm
index 3e70b21dc59a8abd217918f7859662a246e5121f..4592ac1a95d8630c9a91369c6691da3436f42e7f 100644
(file)
--- a/
lib/Gruntmaster/Data.pm
+++ b/
lib/Gruntmaster/Data.pm
@@
-94,6
+94,14
@@
sub get_open {
HGET cp . 'open', "$problem.$user";
}
+sub lastjob {
+ HGET 'lastjob', $_[0];
+}
+
+sub set_lastjob {
+ HSET 'lastjob', $_[0], time;
+}
+
our @EXPORT = do {
no strict 'refs';
grep { $_ =~ /^[a-zA-Z]/ and exists &$_ } keys %{__PACKAGE__ . '::'};
This page took
0.009532 seconds
and
4
git commands to generate.