Flags

Details

class AppStream.CacheFlags(value)

Bases: GLib.Flags

Flags on how caching should be used.

NONE = 0

No flags.

USE_USER = 1

Create an user-specific metadata cache.

USE_SYSTEM = 2

Use and - if possible - update the global metadata cache.

NO_CLEAR = 4

Don’t clear the cache when opening it.

class AppStream.ParseFlags(value)

Bases: GLib.Flags

Influence certain aspects of how AppStream metadata is parsed.

NONE = 0

No flags.

IGNORE_MEDIABASEURL = 1

Do not process the media_baseurl document property.

class AppStream.PoolFlags(value)

Bases: GLib.Flags

Flags on how caching should be used.

NONE = 0

No flags.

READ_COLLECTION = 1

Add AppStream collection metadata to the pool.

READ_METAINFO = 2

Add data from AppStream metainfo files to the pool.

READ_DESKTOP_FILES = 4

Add metadata from .desktop files to the pool.

class AppStream.ValueFlags(value)

Bases: GLib.Flags

Set how values assigned to an AppStream.Component should be treated when they are set or retrieved.

NONE = 0

No flags.

DUPLICATE_CHECK = 1

Check for duplicates when adding items to list values.

NO_TRANSLATION_FALLBACK = 2

Don’t fall back to C when retrieving translated values.