Tree is the data structure used by sops to represent documents internally
| 299 | |
| 300 | // Tree is the data structure used by sops to represent documents internally |
| 301 | type 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 |
| 309 | func (branch TreeBranch) Truncate(path []interface{}) (interface{}, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected