()
| 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 | } |
nothing calls this directly
no test coverage detected