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

Method LatestDocCommit

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

Source from the content-addressed store, hash-verified

33}
34
35func (i *imlDocService) LatestDocCommit(ctx context.Context, serviceId string) (*commit.Commit[DocCommit], error) {
36 return i.commitService.Latest(ctx, serviceId)
37}
38
39func (i *imlDocService) CommitDoc(ctx context.Context, serviceId string, data *Doc) error {
40 return i.commitService.Save(ctx, serviceId, &DocCommit{Content: data.Doc})

Callers

nothing calls this directly

Calls 1

LatestMethod · 0.65

Tested by

no test coverage detected