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

Method LatestCommit

service/upstream/iml.go:78–81  ·  view source on GitHub ↗
(ctx context.Context, uid string, clusterId string)

Source from the content-addressed store, hash-verified

76}
77
78func (i *imlUpstreamService) LatestCommit(ctx context.Context, uid string, clusterId string) (*commit.Commit[Config], error) {
79
80 return i.commitService.Latest(ctx, uid, clusterId)
81}
82
83func (i *imlUpstreamService) SaveCommit(ctx context.Context, uid string, partition string, cfg *Config) error {
84 return i.commitService.Save(ctx, uid, partition, cfg)

Callers

nothing calls this directly

Calls 1

LatestMethod · 0.65

Tested by

no test coverage detected