MCPcopy Create free account
hub / github.com/cifertech/DisplayKit / withCacheBust

Function withCacheBust

app.js:2411–2415  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

2409}
2410
2411function withCacheBust(url) {
2412 if (!url) return url;
2413 const join = url.includes("?") ? "&" : "?";
2414 return `${url}${join}v=${ICON_ASSET_BUST}`;
2415}
2416
2417function bytesToHexByte(v) {
2418 return "0x" + (v & 0xff).toString(16).padStart(2, "0").toUpperCase();

Callers 4

addIconElementFunction · 0.85
renderIconGridFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected