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

Method LatestDocCommit

service/service-doc/service.go:24–24  ·  view source on GitHub ↗

LatestDocCommit 获取最新文档

(ctx context.Context, serviceId string)

Source from the content-addressed store, hash-verified

22 GetDocCommit(ctx context.Context, commitId string) (*commit.Commit[DocCommit], error)
23 // LatestDocCommit 获取最新文档
24 LatestDocCommit(ctx context.Context, serviceId string) (*commit.Commit[DocCommit], error)
25 ListLatestDocCommit(ctx context.Context, serviceIds ...string) ([]*commit.Commit[DocCommit], error)
26 ListDocCommit(ctx context.Context, commitIds ...string) ([]*commit.Commit[DocCommit], error)
27}

Callers

nothing calls this directly

Implementers 2

imlDocServiceservice/service-doc/iml.go
imlAPIDocServiceservice/api-doc/iml.go

Calls

no outgoing calls

Tested by

no test coverage detected