Materialize a specific prefix of the repository to the working copy. Convenience function that sets the prefix option.
(
txn: &T,
changes: &C,
working_copy: &W,
prefix: &str,
)
| 299 | /// |
| 300 | /// Convenience function that sets the prefix option. |
| 301 | pub fn materialize_prefix<T, C, W>( |
| 302 | txn: &T, |
| 303 | changes: &C, |
| 304 | working_copy: &W, |
| 305 | prefix: &str, |
| 306 | ) -> Result<MaterializeResult, MaterializeError<W::Error>> |
| 307 | where |
| 308 | T: TreeTxnT + GraphTxnT, |
| 309 | C: ChangeStore, |
| 310 | W: WorkingCopy, |
| 311 | W::Writer: std::io::Write, |
| 312 | { |
| 313 | materialize_view( |
| 314 | txn, |
| 315 | changes, |
| 316 | working_copy, |
| 317 | MaterializeOptions::new().prefix(prefix), |
| 318 | ) |
| 319 | } |
nothing calls this directly
no test coverage detected