MCPcopy
hub / github.com/docker/compose / execRemoveVolume

Method execRemoveVolume

pkg/compose/executor_ops.go:64–67  ·  view source on GitHub ↗
(ctx context.Context, op Operation)

Source from the content-addressed store, hash-verified

62}
63
64func (exec *planExecutor) execRemoveVolume(ctx context.Context, op Operation) error {
65 _, err := exec.compose.apiClient().VolumeRemove(ctx, op.Name, client.VolumeRemoveOptions{Force: true})
66 return err
67}
68
69// --- Container operations ---
70

Callers 1

executeNodeMethod · 0.95

Calls 2

apiClientMethod · 0.80
VolumeRemoveMethod · 0.45

Tested by

no test coverage detected