(&self, txn: &mut TransactionMut, key: S)
| 52 | } |
| 53 | |
| 54 | fn get_or_init_array<S: Into<Arc<str>>>(&self, txn: &mut TransactionMut, key: S) -> ArrayRef { |
| 55 | let key = key.into(); |
| 56 | match self.get(txn, &key) { |
| 57 | Some(Out::YArray(array)) => array, |
| 58 | _ => self.insert(txn, key, ArrayPrelim::default()), |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | fn get_or_init_text<S: Into<Arc<str>>>(&self, txn: &mut TransactionMut, key: S) -> TextRef { |
| 63 | let key = key.into(); |
no test coverage detected