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

Function filterSources

apps/cli/internal/cli/sync.go:99–106  ·  view source on GitHub ↗
(sources []sync.SourceConfig, name string)

Source from the content-addressed store, hash-verified

97}
98
99func filterSources(sources []sync.SourceConfig, name string) []sync.SourceConfig {
100 for _, s := range sources {
101 if s.Name == name {
102 return []sync.SourceConfig{s}
103 }
104 }
105 return nil
106}
107
108func printSyncResult(_ string, result *sync.SyncResult, quietMode bool) {
109 if quietMode {

Callers 1

runSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected