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

Method GetDocCommit

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

Source from the content-addressed store, hash-verified

35}
36
37func (i *imlAPIDocService) GetDocCommit(ctx context.Context, commitId string) (*commit.Commit[DocCommit], error) {
38 return i.commitService.Get(ctx, commitId)
39}
40
41func (i *imlAPIDocService) ListDocCommit(ctx context.Context, commitIds ...string) ([]*commit.Commit[DocCommit], error) {
42 return i.commitService.List(ctx, commitIds...)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected