MCPcopy
hub / github.com/github/awesome-copilot / uid

Function uid

extensions/site-studio/extension.mjs:396–398  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

394}
395
396function uid(prefix) {
397 return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
398}
399
400function safeString(value, fallback = "") {
401 return typeof value === "string" ? value : fallback;

Callers 4

addChangeFunction · 0.85
markMilestoneFunction · 0.85
handleApiFunction · 0.85
extension.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected