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

Method LatestDocCommit

service/api-doc/iml.go:135–137  ·  view source on GitHub ↗
(ctx context.Context, serviceId string)

Source from the content-addressed store, hash-verified

133}
134
135func (i *imlAPIDocService) LatestDocCommit(ctx context.Context, serviceId string) (*commit.Commit[DocCommit], error) {
136 return i.commitService.Latest(ctx, serviceId)
137}
138
139func (i *imlAPIDocService) CommitDoc(ctx context.Context, serviceId string, data *Doc) error {
140 doc, err := NewDocLoader(data.Content)

Callers

nothing calls this directly

Calls 1

LatestMethod · 0.65

Tested by

no test coverage detected