MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / close

Method close

agent/app/service/backup_compose.go:538–542  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536}
537
538func (c *composeRecoverContext) close() {
539 if c.tmpDir != "" {
540 _ = os.RemoveAll(c.tmpDir)
541 }
542}
543
544func stepPrepareComposeRecover(recoverCtx *composeRecoverContext) error {
545 if !recoverCtx.fileOp.Stat(recoverCtx.req.File) {

Callers 1

handleComposeRecoverFunction · 0.95

Calls 1

RemoveAllMethod · 0.80

Tested by

no test coverage detected