mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-31 01:45:46 +08:00
13 lines
292 B
Go
13 lines
292 B
Go
package tests
|
|
|
|
import (
|
|
"github.com/moby/buildkit/util/testutil/integration"
|
|
)
|
|
|
|
func rmCmd(sb integration.Sandbox, opts ...cmdOpt) (string, error) {
|
|
opts = append([]cmdOpt{withArgs("rm")}, opts...)
|
|
cmd := buildxCmd(sb, opts...)
|
|
out, err := cmd.CombinedOutput()
|
|
return string(out), err
|
|
}
|