MCPcopy Create free account
hub / github.com/ampproject/amphtml / getStorageKey

Function getStorageKey

src/service/cid-impl.js:401–403  ·  view source on GitHub ↗

* @param {string} cookieName * @return {string}

(cookieName)

Source from the content-addressed store, hash-verified

399 * @return {string}
400 */
401function getStorageKey(cookieName) {
402 return CID_BACKUP_STORAGE_KEY + cookieName;
403}
404
405/**
406 * Maybe gets the CID from cookie or, if allowed, gets backup CID

Callers 2

setCidBackupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected