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

Method GetDocCommit

service/service-doc/iml.go:23–25  ·  view source on GitHub ↗
(ctx context.Context, commitId string)

Source from the content-addressed store, hash-verified

21}
22
23func (i *imlDocService) GetDocCommit(ctx context.Context, commitId string) (*commit.Commit[DocCommit], error) {
24 return i.commitService.Get(ctx, commitId)
25}
26
27func (i *imlDocService) ListLatestDocCommit(ctx context.Context, serviceIds ...string) ([]*commit.Commit[DocCommit], error) {
28 return i.commitService.ListLatest(ctx, serviceIds...)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected