Dominik Schulz 16c071a780
Enable golangci-lint on push and pr (#2158)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-03-24 21:58:53 +01:00

15 lines
291 B
Go

package root
import (
"context"
"github.com/gopasspw/gopass/pkg/gopass"
)
// Set encodes and write the ciphertext of one entry to disk.
func (r *Store) Set(ctx context.Context, name string, sec gopass.Byter) error {
store, name := r.getStore(name)
return store.Set(ctx, name, sec)
}