(object: CacheableValue, HashVersion = DefaultHash)
| 401 | * @returns {string} - Hash of object |
| 402 | */ |
| 403 | export function getHash(object: CacheableValue, HashVersion = DefaultHash): string { |
| 404 | return crypto.createHmac('sha256', HashVersion).update(objectToHashableString(object)).digest('hex'); |
| 405 | } |
| 406 | |
| 407 | interface glEditorMainContent { |
| 408 | // Editor content |
no test coverage detected