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

Method Save

stores/universally/commit/store.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, key string, target string, h *H)

Source from the content-addressed store, hash-verified

20
21type ICommitStore[H any] interface {
22 Save(ctx context.Context, key string, target string, h *H) error
23 Latest(ctx context.Context, key string, target ...string) ([]*Commit[H], error)
24 Get(ctx context.Context, uuid string) (*Commit[H], error)
25 List(ctx context.Context, uuids ...string) ([]*Commit[H], error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected