computes the key used to store the collection in the database
(&self)
| 322 | |
| 323 | /// computes the key used to store the collection in the database |
| 324 | pub fn get_key(&self) -> [u8; 8] { |
| 325 | let hash = self.get_hash(); |
| 326 | hash.to_le_bytes() |
| 327 | } |
| 328 | |
| 329 | /// creates a path out of the collection name |
| 330 | pub fn get_path(&self) -> Arc<Path> { |