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

Method GetStrategyCommit

service/strategy/iml.go:89–91  ·  view source on GitHub ↗
(ctx context.Context, commitId string)

Source from the content-addressed store, hash-verified

87}
88
89func (i *imlStrategyService) GetStrategyCommit(ctx context.Context, commitId string) (*commit.Commit[Commit], error) {
90 return i.commitService.Get(ctx, commitId)
91}
92
93func (i *imlStrategyService) LatestStrategyCommit(ctx context.Context, scope string, target string, strategyId string) (*commit.Commit[Commit], error) {
94 key := scope

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected