withStorage returns a new root value with the given storage.
(st storage.RootStorage)
| 938 | |
| 939 | // withStorage returns a new root value with the given storage. |
| 940 | func (root *RootValue) withStorage(st storage.RootStorage) *RootValue { |
| 941 | return &RootValue{ |
| 942 | vrw: root.vrw, |
| 943 | ns: root.ns, |
| 944 | st: st, |
| 945 | } |
| 946 | } |
no outgoing calls
no test coverage detected