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

Method Latest

stores/universally/commit/wtype.go:38–40  ·  view source on GitHub ↗
(ctx context.Context, target ...string)

Source from the content-addressed store, hash-verified

36 return h.Store.Save(ctx, h.key, target, commit)
37}
38func (h *StoreWidthType[H]) Latest(ctx context.Context, target ...string) ([]*Commit[H], error) {
39 return h.Store.Latest(ctx, h.key, target...)
40}
41func (h *StoreWidthType[H]) Get(ctx context.Context, uuid string) (*Commit[H], error) {
42 return h.Store.Get(ctx, uuid)
43}

Callers

nothing calls this directly

Calls 1

LatestMethod · 0.65

Tested by

no test coverage detected