MCPcopy
hub / github.com/larksuite/cli / partiallyRegisterThenFailPlugin

Struct partiallyRegisterThenFailPlugin

internal/platform/host_test.go:355–355  ·  view source on GitHub ↗

Atomic install: a plugin whose validation fails AFTER it registered some hooks must NOT leak those hooks into the live registry. The staging buffer is the atomicity boundary.

Source from the content-addressed store, hash-verified

353// some hooks must NOT leak those hooks into the live registry. The
354// staging buffer is the atomicity boundary.
355type partiallyRegisterThenFailPlugin struct{}
356
357func (partiallyRegisterThenFailPlugin) Name() string { return "partial" }
358func (partiallyRegisterThenFailPlugin) Version() string { return "1.0.0" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected