MCPcopy Create free account
hub / github.com/apache/cloudstack / setHashKey

Function setHashKey

tools/ngui/static/js/lib/angular.js:209–216  ·  view source on GitHub ↗

* Set or clear the hashkey for an object. * @param obj object * @param h the hashkey (!truthy to delete the hashkey)

(obj, h)

Source from the content-addressed store, hash-verified

207 * @param h the hashkey (!truthy to delete the hashkey)
208 */
209function setHashKey(obj, h) {
210 if (h) {
211 obj.$$hashKey = h;
212 }
213 else {
214 delete obj.$$hashKey;
215 }
216}
217
218/**
219 * @ngdoc function

Callers 2

extendFunction · 0.85
copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected