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

Method CommitDoc

service/service-doc/service.go:21–21  ·  view source on GitHub ↗
(ctx context.Context, serviceId string, data *Doc)

Source from the content-addressed store, hash-verified

19
20type IDocCommitService interface {
21 CommitDoc(ctx context.Context, serviceId string, data *Doc) error
22 GetDocCommit(ctx context.Context, commitId string) (*commit.Commit[DocCommit], error)
23 // LatestDocCommit 获取最新文档
24 LatestDocCommit(ctx context.Context, serviceId string) (*commit.Commit[DocCommit], error)

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