MCPcopy
hub / github.com/getsops/sops / ExampleFileEmitter

Interface ExampleFileEmitter

cmd/sops/common/common.go:30–32  ·  view source on GitHub ↗

ExampleFileEmitter emits example files. This is used by the `sops` binary whenever a new file is created, in order to present the user with a non-empty file

Source from the content-addressed store, hash-verified

28// ExampleFileEmitter emits example files. This is used by the `sops` binary
29// whenever a new file is created, in order to present the user with a non-empty file
30type ExampleFileEmitter interface {
31 EmitExample() []byte
32}
33
34// Store handles marshaling and unmarshaling from SOPS files
35type Store interface {

Callers 1

editExampleFunction · 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

no test coverage detected