MCPcopy
hub / github.com/caddyserver/certmagic / Store

Method Store

account_test.go:137–140  ·  view source on GitHub ↗
(ctx context.Context, key string, value []byte)

Source from the content-addressed store, hash-verified

135 return r.Storage.Stat(ctx, key)
136}
137func (r *recordingStorage) Store(ctx context.Context, key string, value []byte) error {
138 r.record("Store", key)
139 return r.Storage.Store(ctx, key, value)
140}
141func (r *recordingStorage) Unlock(ctx context.Context, name string) error {
142 r.record("Unlock", name)
143 return r.Storage.Unlock(ctx, name)

Callers

nothing calls this directly

Calls 2

recordMethod · 0.95
StoreMethod · 0.65

Tested by

no test coverage detected