Every stored binding id in deterministic order.
(&self)
| 115 | |
| 116 | /// Every stored binding id in deterministic order. |
| 117 | pub fn binding_ids(&self) -> Result<Vec<BindingId>, RepositoryError> { |
| 118 | let txn = self.pristine.read_txn().map_err(pristine_map)?; |
| 119 | let ids = txn.iter_binding_ids().map_err(pristine_map)?; |
| 120 | Ok(ids.into_iter().map(BindingId::from_bytes).collect()) |
| 121 | } |
| 122 | |
| 123 | /// The create-only publication ref for a binding id (RFC §8.6): |
| 124 | /// `refs/atomic/bindings/<shard>/<id>` with a two-hex-character shard. |