MCPcopy Create free account
hub / github.com/arctic-cli/interface / checkUpgrade

Function checkUpgrade

packages/arctic/src/cli/cmd/tui/worker.ts:45–53  ·  view source on GitHub ↗
(input: { directory: string })

Source from the content-addressed store, hash-verified

43 }
44 },
45 async checkUpgrade(input: { directory: string }) {
46 await Instance.provide({
47 directory: input.directory,
48 init: InstanceBootstrap,
49 fn: async () => {
50 await upgrade().catch(() => {})
51 },
52 })
53 },
54 async shutdown() {
55 Log.Default.info("worker shutting down")
56 await Instance.disposeAll()

Callers

nothing calls this directly

Calls 1

upgradeFunction · 0.90

Tested by

no test coverage detected