ZIF Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
ZifStoreMetaZifStoreMeta — A meta store is a store that can operate on installed, remote or installed packages. |
struct ZifStoreMeta; struct ZifStoreMetaClass; ZifStore * zif_store_meta_new (void
); void zif_store_meta_set_is_local (ZifStoreMeta *store
,gboolean is_local
);
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.
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); };
ZifStore * zif_store_meta_new (void
);
Returns : |
A new ZifStoreMeta instance. |
Since 0.1.3
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".
|
A ZifStoreMeta |
|
TRUE if this is a local repo |
Since 0.1.3