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

Method Latest

service/universally/commit/service.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, target string, key string)

Source from the content-addressed store, hash-verified

28
29type ICommitService[T any] interface {
30 Latest(ctx context.Context, target string, key string) (*Commit[T], error)
31 ListLatest(ctx context.Context, key string, target ...string) ([]*Commit[T], error)
32 Save(ctx context.Context, target string, key string, data *T) error
33 Get(ctx context.Context, uuid string) (*Commit[T], error)

Callers 4

LatestCommitMethod · 0.65
ListLatestMethod · 0.65
ListLatestMethod · 0.65
LatestMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected