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

Method HasSopsTopLevelKey

sops.go:731–731  ·  view source on GitHub ↗
(TreeBranch)

Source from the content-addressed store, hash-verified

729// metadata. This is used to check whether a file is already encrypted or not.
730type CheckEncrypted interface {
731 HasSopsTopLevelKey(TreeBranch) bool
732}
733
734// Store is used to interact with files, both encrypted and unencrypted.

Callers 3

TestHasSopsTopLevelKeyFunction · 0.65
TestHasSopsTopLevelKeyFunction · 0.65

Implementers 5

Storestores/dotenv/store.go
Storestores/ini/store.go
Storestores/yaml/store.go
Storestores/json/store.go
BinaryStorestores/json/store.go

Calls

no outgoing calls

Tested by 2

TestHasSopsTopLevelKeyFunction · 0.52
TestHasSopsTopLevelKeyFunction · 0.52