MCPcopy Create free account
hub / github.com/GoogleChrome/samples / zKeyForStorage

Function zKeyForStorage

sqlite-wasm-cos/sqlite3.mjs:16797–16800  ·  view source on GitHub ↗
(store, zClass, zKey)

Source from the content-addressed store, hash-verified

16795 zKey may not.
16796 */
16797 const zKeyForStorage = (store, zClass, zKey)=>{
16798 //debug("zKeyForStorage(",store, wasm.cstrToJs(zClass), wasm.cstrToJs(zKey));
16799 return (zClass && store.keyPrefix) ? kvvfsMakeKey(zClass, zKey) : zKey;
16800 };
16801
16802 const jsKeyForStorage = (store,zClass,zKey)=>
16803 wasm.cstrToJs(zKeyForStorage(store, zClass, zKey));

Callers 1

jsKeyForStorageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected