MCPcopy Index your code
hub / github.com/getsops/sops / EmitEncryptedFile

Method EmitEncryptedFile

stores/json/store.go:69–71  ·  view source on GitHub ↗

EmitEncryptedFile produces an encrypted json file's bytes from its corresponding sops.Tree object

(in sops.Tree)

Source from the content-addressed store, hash-verified

67
68// EmitEncryptedFile produces an encrypted json file's bytes from its corresponding sops.Tree object
69func (store BinaryStore) EmitEncryptedFile(in sops.Tree) ([]byte, error) {
70 return store.store.EmitEncryptedFile(in)
71}
72
73var BinaryStoreEmitPlainError = errors.New("error emitting binary store")
74

Callers

nothing calls this directly

Calls 1

EmitEncryptedFileMethod · 0.65

Tested by

no test coverage detected