MCPcopy
hub / github.com/hashicorp/packer / Run

Method Run

command/plugins_remove.go:54–59  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

52}
53
54func (c *PluginsRemoveCommand) Run(args []string) int {
55 ctx, cleanup := handleTermInterrupt(c.Ui)
56 defer cleanup()
57
58 return c.RunContext(ctx, args)
59}
60
61// deletePluginBinary removes a local plugin binary, and its related checksum file.
62func deletePluginBinary(pluginPath string) error {

Callers

nothing calls this directly

Calls 3

RunContextMethod · 0.95
handleTermInterruptFunction · 0.85
cleanupFunction · 0.85

Tested by

no test coverage detected