Method
LatestDocCommit
(ctx context.Context, serviceId string)
Source from the content-addressed store, hash-verified
| 133 | } |
| 134 | |
| 135 | func (i *imlAPIDocService) LatestDocCommit(ctx context.Context, serviceId string) (*commit.Commit[DocCommit], error) { |
| 136 | return i.commitService.Latest(ctx, serviceId) |
| 137 | } |
| 138 | |
| 139 | func (i *imlAPIDocService) CommitDoc(ctx context.Context, serviceId string, data *Doc) error { |
| 140 | doc, err := NewDocLoader(data.Content) |
Callers
nothing calls this directly
Tested by
no test coverage detected