summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/hashserv/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/hashserv/client.py')
-rw-r--r--bitbake/lib/hashserv/client.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/hashserv/client.py b/bitbake/lib/hashserv/client.py
index f65956617b..ae0cce9df4 100644
--- a/bitbake/lib/hashserv/client.py
+++ b/bitbake/lib/hashserv/client.py
@@ -148,6 +148,14 @@ class Client(object):
148 m['unihash'] = unihash 148 m['unihash'] = unihash
149 return self.send_message({'report': m}) 149 return self.send_message({'report': m})
150 150
151 def report_unihash_equiv(self, taskhash, method, unihash, extra={}):
152 self._set_mode(self.MODE_NORMAL)
153 m = extra.copy()
154 m['taskhash'] = taskhash
155 m['method'] = method
156 m['unihash'] = unihash
157 return self.send_message({'report-equiv': m})
158
151 def get_stats(self): 159 def get_stats(self):
152 self._set_mode(self.MODE_NORMAL) 160 self._set_mode(self.MODE_NORMAL)
153 return self.send_message({'get-stats': None}) 161 return self.send_message({'get-stats': None})