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

Method LoadEncryptedFile

stores/json/store.go:51–53  ·  view source on GitHub ↗

LoadEncryptedFile loads an encrypted json file onto a sops.Tree object

(in []byte)

Source from the content-addressed store, hash-verified

49
50// LoadEncryptedFile loads an encrypted json file onto a sops.Tree object
51func (store BinaryStore) LoadEncryptedFile(in []byte) (sops.Tree, error) {
52 return store.store.LoadEncryptedFile(in)
53}
54
55// LoadPlainFile loads a plaintext json file onto a sops.Tree encapsulated
56// within a sops.TreeBranches object

Callers

nothing calls this directly

Calls 1

LoadEncryptedFileMethod · 0.65

Tested by

no test coverage detected