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

Struct Tree

sops.go:301–306  ·  view source on GitHub ↗

Tree is the data structure used by sops to represent documents internally

Source from the content-addressed store, hash-verified

299
300// Tree is the data structure used by sops to represent documents internally
301type Tree struct {
302 Metadata Metadata
303 Branches TreeBranches
304 // FilePath is the path of the file this struct represents
305 FilePath string
306}
307
308// Truncate truncates the tree to the path specified
309func (branch TreeBranch) Truncate(path []interface{}) (interface{}, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected