pub fn get_snapshot( conn: &Connection, package_name: &str, ) -> Result<Option<MsiInventorySnapshot>>