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

Function zKeyForStorage

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

Source from the content-addressed store, hash-verified

16674 zKey may not.
16675 */
16676 const zKeyForStorage = (store, zClass, zKey)=>{
16677 //debug("zKeyForStorage(",store, wasm.cstrToJs(zClass), wasm.cstrToJs(zKey));
16678 return (zClass && store.keyPrefix) ? kvvfsMakeKey(zClass, zKey) : zKey;
16679 };
16680
16681 const jsKeyForStorage = (store,zClass,zKey)=>
16682 wasm.cstrToJs(zKeyForStorage(store, zClass, zKey));

Callers 1

jsKeyForStorageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected