EmitExample returns the bytes corresponding to an example Flat Tree runtime object
()
| 120 | |
| 121 | // EmitExample returns the bytes corresponding to an example Flat Tree runtime object |
| 122 | func (store *Store) EmitExample() []byte { |
| 123 | bytes, err := store.EmitPlainFile(stores.ExampleFlatTree.Branches) |
| 124 | if err != nil { |
| 125 | panic(err) |
| 126 | } |
| 127 | return bytes |
| 128 | } |
| 129 | |
| 130 | // Deprecated: use stores.IsComplexValue() instead! |
| 131 | func IsComplexValue(v interface{}) bool { |
nothing calls this directly
no test coverage detected