mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-30 23:46:28 +00:00 
			
		
		
		
	make Index::get_version public
This commit is contained in:
		| @@ -374,7 +374,7 @@ impl Index { | ||||
|     } | ||||
|  | ||||
|     /// Get the version of the database. `None` if it was never set. | ||||
|     pub(crate) fn get_version(&self, rtxn: &RoTxn<'_>) -> heed::Result<Option<(u32, u32, u32)>> { | ||||
|     pub fn get_version(&self, rtxn: &RoTxn<'_>) -> heed::Result<Option<(u32, u32, u32)>> { | ||||
|         self.main.remap_types::<Str, VersionCodec>().get(rtxn, main_key::VERSION_KEY) | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user