MCPcopy Create free account
hub / github.com/driangle/taskmd / cliMockSource

Struct cliMockSource

apps/cli/internal/cli/sync_test.go:231–234  ·  view source on GitHub ↗

cliMockSource implements sync.Source for CLI integration tests.

Source from the content-addressed store, hash-verified

229
230// cliMockSource implements sync.Source for CLI integration tests.
231type cliMockSource struct {
232 name string
233 tasks []sync.ExternalTask
234}
235
236func (m *cliMockSource) Name() string { return m.name }
237func (m *cliMockSource) ValidateConfig(_ sync.SourceConfig) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected