MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / CommitStrategy

Method CommitStrategy

service/strategy/service.go:27–27  ·  view source on GitHub ↗
(ctx context.Context, scope string, target string, strategyId string, data *Strategy)

Source from the content-addressed store, hash-verified

25 Restore(ctx context.Context, id string) error
26
27 CommitStrategy(ctx context.Context, scope string, target string, strategyId string, data *Strategy) error
28 GetStrategyCommit(ctx context.Context, commitId string) (*commit.Commit[Commit], error)
29 LatestStrategyCommit(ctx context.Context, scope string, target string, strategyId string) (*commit.Commit[Commit], error)
30 ListLatestStrategyCommit(ctx context.Context, scope string, target string, strategyIds ...string) ([]*commit.Commit[Commit], error)

Callers 2

latestStrategyCommitsMethod · 0.65
PublishMethod · 0.65

Implementers 1

imlStrategyServiceservice/strategy/iml.go

Calls

no outgoing calls

Tested by

no test coverage detected