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

Method Save

stores/universally/commit/wtype.go:35–37  ·  view source on GitHub ↗
(ctx context.Context, target string, commit *H)

Source from the content-addressed store, hash-verified

33 return h.Store.List(ctx, uuids...)
34}
35func (h *StoreWidthType[H]) Save(ctx context.Context, target string, commit *H) error {
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}

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.65

Tested by

no test coverage detected