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

Function backup

packages/arctic/src/config/export.ts:151–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 }
150
151 export async function backup(): Promise<Buffer> {
152 log.info("starting config backup")
153 const files = await collectFiles()
154 const zipBuffer = await createZip(files)
155 log.info("config backup created", { size: zipBuffer.length })
156 return zipBuffer
157 }
158}

Callers

nothing calls this directly

Calls 2

collectFilesFunction · 0.85
createZipFunction · 0.85

Tested by

no test coverage detected