ZifStoreMeta

ZifStoreMeta — A meta store is a store that can operate on installed, remote or installed packages.

Synopsis

struct              ZifStoreMeta;
struct              ZifStoreMetaClass;
ZifStore *          zif_store_meta_new                  (void);
void                zif_store_meta_set_is_local         (ZifStoreMeta *store,
                                                         gboolean is_local);

Object Hierarchy

  GObject
   +----ZifStore
         +----ZifStoreMeta

Description

The primary purpose of ZifStoreMeta is to be a general basket to put ZifPackages in, without actually getting the packages from any remote or local source. It can be thought of as an in-memory store.

A ZifStoreMeta is a subclassed ZifStore and operates on packages.

Details

struct ZifStoreMeta

struct ZifStoreMeta;


struct ZifStoreMetaClass

struct ZifStoreMetaClass {
	ZifStoreClass		 parent_class;
	/* Padding for future expansion */
	void (*_zif_reserved1) (void);
	void (*_zif_reserved2) (void);
	void (*_zif_reserved3) (void);
	void (*_zif_reserved4) (void);
};


zif_store_meta_new ()

ZifStore *          zif_store_meta_new                  (void);

Returns :

A new ZifStoreMeta instance.

Since 0.1.3


zif_store_meta_set_is_local ()

void                zif_store_meta_set_is_local         (ZifStoreMeta *store,
                                                         gboolean is_local);

This function changes no results, it just changes the repository identifier to be "meta-local" rather than "meta".

store :

A ZifStoreMeta

is_local :

TRUE if this is a local repo

Since 0.1.3