MCPcopy
hub / github.com/CacheControl/json-rules-engine / hashFromObject

Method hashFromObject

src/fact.js:63–65  ·  view source on GitHub ↗

* Return a cache key (MD5 string) based on parameters * @param {object} obj - properties to generate a hash key from * @return {string} MD5 string based on the hash'd object

(obj)

Source from the content-addressed store, hash-verified

61 * @return {string} MD5 string based on the hash'd object
62 */
63 static hashFromObject (obj) {
64 return hash(obj)
65 }
66
67 /**
68 * Default properties to use when caching a fact

Callers 1

getCacheKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected