Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/scriptscat/scriptcat
/ getAllScripts
Method
getAllScripts
src/app/service/service_worker/client.ts:42–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
41
// 脚本数据量大的时候,options页要读取全部的数据,可能会导致options页卡顿,直接调用serviceWorker的接口从内存中读取数据
42
getAllScripts(): Promise<Script[]> {
43
return
this.doThrow(
"getAllScripts"
);
44
}
45
46
// 获取安装信息
47
getInstallInfo(uuid: string) {
Callers
1
fetchScriptList
Function · 0.45
Calls
1
doThrow
Method · 0.80
Tested by
no test coverage detected