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

Method List

service/universally/commit/iml.go:21–28  ·  view source on GitHub ↗
(ctx context.Context, uuids ...string)

Source from the content-addressed store, hash-verified

19}
20
21func (i *imlCommitWithKeyService[T]) List(ctx context.Context, uuids ...string) ([]*Commit[T], error) {
22
23 list, err := i.store.List(ctx, uuids...)
24 if err != nil {
25 return nil, err
26 }
27 return utils.SliceToSlice(list, newCommit[T]), nil
28}
29
30func (i *imlCommitWithKeyService[T]) ListLatest(ctx context.Context, target ...string) ([]*Commit[T], error) {
31 list, err := i.store.Latest(ctx, target...)

Callers

nothing calls this directly

Calls 1

ListMethod · 0.65

Tested by

no test coverage detected