MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / ListStrategyCommit

Method ListStrategyCommit

service/strategy/iml.go:109–115  ·  view source on GitHub ↗
(ctx context.Context, commitIds ...string)

Source from the content-addressed store, hash-verified

107}
108
109func (i *imlStrategyService) ListStrategyCommit(ctx context.Context, commitIds ...string) ([]*commit.Commit[Commit], error) {
110 if len(commitIds) < 1 {
111 return nil, fmt.Errorf("commit ids is empty")
112 }
113
114 return i.commitService.List(ctx, commitIds...)
115}
116
117func (i *imlStrategyService) SearchByDriver(ctx context.Context, keyword string, driver string, scope int, target string, page int, pageSize int, filters []string, order ...string) ([]*Strategy, int64, error) {
118 w := map[string]interface{}{

Callers

nothing calls this directly

Calls 1

ListMethod · 0.65

Tested by

no test coverage detected