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

Struct fakeView

extension/platform/selector_test.go:13–19  ·  view source on GitHub ↗

fakeView is a minimal CommandView for unit-testing selectors.

Source from the content-addressed store, hash-verified

11
12// fakeView is a minimal CommandView for unit-testing selectors.
13type fakeView struct {
14 path string
15 domain string
16 risk string
17 riskOK bool
18 identities []string
19}
20
21func (v fakeView) Path() string { return v.path }
22func (v fakeView) Domain() string { return v.domain }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected