(ctx context.Context, scope string, target string, strategyIds ...string)
| 99 | } |
| 100 | |
| 101 | func (i *imlStrategyService) ListLatestStrategyCommit(ctx context.Context, scope string, target string, strategyIds ...string) ([]*commit.Commit[Commit], error) { |
| 102 | key := scope |
| 103 | if target != "" { |
| 104 | key = fmt.Sprintf("%s-%s", scope, target) |
| 105 | } |
| 106 | return i.commitService.ListLatest(ctx, key, strategyIds...) |
| 107 | } |
| 108 | |
| 109 | func (i *imlStrategyService) ListStrategyCommit(ctx context.Context, commitIds ...string) ([]*commit.Commit[Commit], error) { |
| 110 | if len(commitIds) < 1 { |
nothing calls this directly
no test coverage detected