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

Interface Source

apps/cli/internal/sync/source.go:21–25  ·  view source on GitHub ↗

Source defines the interface that external task providers must implement.

Source from the content-addressed store, hash-verified

19
20// Source defines the interface that external task providers must implement.
21type Source interface {
22 Name() string
23 ValidateConfig(cfg SourceConfig) error
24 FetchTasks(cfg SourceConfig) ([]ExternalTask, error)
25}

Callers 13

collectFilesFunction · 0.65
addRecursiveMethod · 0.65
loadFromDirFunction · 0.65
TestEngine_DryRunFunction · 0.65
validateConfigFunction · 0.65
RunSyncMethod · 0.65
fetchImportTasksFunction · 0.65
RunSyncMethod · 0.65

Implementers 4

cliMockSourceapps/cli/internal/cli/sync_test.go
mockSourceapps/cli/internal/sync/engine_test.go
GitHubSourceapps/cli/internal/sync/github/github.g
JiraSourceapps/cli/internal/sync/jira/jira.go

Calls

no outgoing calls

Tested by

no test coverage detected