MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / getStorageName

Function getStorageName

src/pkg/utils/utils.ts:166–169  ·  view source on GitHub ↗
(script: Script | TScriptInfo)

Source from the content-addressed store, hash-verified

164}
165
166export function getStorageName(script: Script | TScriptInfo): string {
167 const storagename = script.metadata?.storagename;
168 return storagename ? storagename[0] : script.uuid;
169}
170
171export function getIcon(script: Script): string | undefined {
172 return (

Callers 13

migrateToChromeStorageFunction · 0.90
valueUpdateMethod · 0.90
value.test.tsFile · 0.90
scriptToMenuFunction · 0.90
deleteScriptMethod · 0.90
deleteScriptsMethod · 0.90
initMethod · 0.90
getScriptValueDetailsMethod · 0.90
setValuesMethod · 0.90
initMethod · 0.90
pageLoadMethod · 0.90
valueUpdateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected