Re: Meaning of 'match-value'
- From: Richard Hughes <hughsient gmail com>
- To: Robert Ancell <robert ancell gmail com>
- Cc: "gnome-software-list gnome org" <gnome-software-list gnome org>
- Subject: Re: Meaning of 'match-value'
- Date: Tue, 1 Aug 2017 16:44:31 +0100
On 1 August 2017 at 15:25, Robert Ancell <robert ancell gmail com> wrote:
GsApp has a 'match-value' which is used to sort search results. I can't seem
to find anywhere this is defined; any ideas? Asking to work out how I would
set this for snap find results.
https://github.com/hughsie/appstream-glib/blob/master/libappstream-glib/as-app.h#L439
-- IIRC, if it's an exact match it get's bitshifted up 8 places, and
if it's a fuzzy match it doesn't.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]